AP Computer Science Aeasymcq1 pt
Unlike a plain array, an ArrayList
A.can grow and shrink at runtime
B.has a fixed size
C.stores primitives directly
D.cannot store objects
ArrayLists resize dynamically.
Acan grow and shrink at runtime
Practice more AP Computer Science A questions with full explanations
Practice Unit 7: ArrayList Questions →