AP Computer Science Amediummcq1 pt

Adding to a full ArrayList causes

A.automatic resizing to a larger backing array
B.an exception
C.the new element to be dropped
D.a compile error

Explanation

Core Concept

ArrayList grows internally.

Correct Answer

Aautomatic resizing to a larger backing array

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 →