Solved

What Does ≪String> Specify in the Following Statement

Question 35

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 into a String array.

Correct Answer:

verifed

Verified

Unlock this answer now
Get Access to more Verified Answers free of charge

Related Questions