What is the output of the following code?
```
ArrayList
java.util.Date d = new java.util.Date();
list.add(d);
list.add(d);
System.out.println((list.get(0) == list.get(1)) + " " + (list.get(0)).equals(list.get(1)));
```
a. true false
b. false true
c. true true
d. false false
c. true true
list.get(0) and list.get(1) point to the same object.
Computer Science & Information Technology
You might also like to view...
Database ________ such as tables, queries, forms and reports are the basic parts of a database that the user works with
Fill in the blank(s) with correct word
Computer Science & Information Technology
In Project 2013, the ________ report displays the current cost status of your project and its top-level to help you determine if your project is staying on budget
Fill in the blank(s) with correct word
Computer Science & Information Technology