AP Computer Science Amediummcq1 pt

After list.add(4); list.add(9); list.set(0, 7), list.size() is

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

Explanation

Core Concept

set replaces without changing size.

Correct Answer

A2

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 →