AP Computer Science Amediummcq1 pt

After list.add(4); list.add(9); list.remove(0); list.size() is

A.1
B.2
C.0
D.3

Explanation

Core Concept

Two adds then one remove leaves one.

Correct Answer

A1

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 →