AP Computer Science Aeasymcq1 pt

An ArrayList can hold how many elements?

A.a variable number that grows as needed
B.a fixed number set at creation
C.exactly 10
D.unlimited without memory cost

Explanation

Core Concept

ArrayLists resize dynamically.

Correct Answer

Aa variable number that grows as needed

More Unit 7: ArrayList practice questions

Try a random question →

Practice more AP Computer Science A questions with full explanations

Practice Unit 7: ArrayList Questions →