Question: You can create an ArrayList without specifying the type of element, in which case the ArrayList stores Object references, which means that you can put
You can create an ArrayList without specifying the type of element, in which case the ArrayList stores Object references, which means that you can put any type of object in the list.
This is usually not a good idea.
The point of being able to commit to storing a particular type in a given ArrayList object lets the compiler help you check that only the appropriate types of objects are being stored in the object.
Group of answer choices
True
False
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
