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 list.get(0) and list.get(1) point to the same object.
You might also like to view...
Method getConfiguration returns a Configuration object (package an-droid.content.res) containing public instance variable ________, which speci-fies the device’s screen-size category.
a. screenSize b. size c. layout d. screenLayout
To find all first names that are either Tom or Tim, you would use the____ wildcard character.
A. asterisk (*) B. exclamation point (!) C. tilde (˜) D. question mark (?)