Multiple Choice
What does <String> specify in the following statement? ArrayList<String> nameList = new ArrayList<String>() ;
A) It specifies that String objects may not be stored in the ArrayList object.
B) It specifies that everything stored in the ArrayList object will be converted to a String object.
C) It specifies that only String objects may be stored in the ArrayList object.
D) It specifies that the ArrayList will be converted to a String array.
Correct Answer:

Verified
Correct Answer:
Verified
Q53: What would be the result after the
Q54: Which of the following for loops is
Q55: Which of the following ArrayList class methods
Q56: What is the value of scores[2][3] in
Q57: Which of the following statements is(are) true
Q58: In order to do a binary search
Q59: Java does not limit the number of
Q60: What would be the result after the
Q61: The String [ ] args parameter in
Q63: When an array of objects is declared