?

AP® Computer Science A

Free Version

Upgrade subject to access all content

Moderate

List Properties

APCSA-KLNFI7

Which of the following can you NOT do with an ArrayList?

A

Define the length of the list in its declaration.

B

Remove an element from a specific position.

C

Set an element at a specific position in the arraylist.

D

Add an element to the end of the list.

E

Insert an element at a specific position in the arraylist.