1. Monitor
2. Modem
3. system unit
4. Mouse
5. Speaker
<span>6. Printer and also a keyboard I'm not sure which you should take out though lo</span>
Answer:
true true
Explanation:
The code snippet first declare an arraylist called list. Then, a date object d is created. The object d is added to the arraylist twice.
Then inside the display statement, there are two boolean expressions. They both check if the element in index 0 and index 1 of the arraylist are the same and if they refer to the same object location in the memory.
The object in index 0 and index 1 are the same and they refer to the same object location in the memory hence the output is true true.
Answer:
Abstract data type is a datatype which hides all the implementation details to the end user.
Explanation:
Class is an abstract data type in object oriented programming. Class abstracts both data members and member functions implementation. Here we can hide some confidential data from end user using access specifier "private". We can make end user access only the data which is marked as "public".
example:
public class Calculate
{
private int salary;
public int workingHours;
public int reatePerHour;
public void Calcuate(){
int total=workingHours*reatePerHour;
cout<<total;
}
}
Here class calculates hides the implementation details of the method "Calculate" .We are abstracting implementation details to the end user using "Class" data type. So it is an AbstarctDataType
Answer:
The technique is mind mapping and involves visual representation of ideas and information which makes it easier to remember and memorize facts even in complex subjects. Here is an example of a mind map with the essential elements of AI and the industries where Artificial Intelligence is applied.