**It specifies that only String objects may be stored in the ArrayList object.

Question
**It specifies that only String objects may be stored in the ArrayList object. – Q/A (Question and Answer)

Test Answer

Answer:

The following statement creates an ArrayListobject. What is the purpose of the notation?

ArrayList arr = new ArrayList();

Unlock this answer Join StudyHippo to unlock
unlock
Get an explanation on any task
Get unstuck with the help of our AI assistant in seconds
New