AP Computer Science Aeasymcq1 pt

The statement new int[4] creates an array of size

A.4
B.3
C.5
D.0

Explanation

Core Concept

The number in brackets is the size.

Correct Answer

A4

More Unit 6: Array practice questions

Try a random question →

Practice more AP Computer Science A questions with full explanations

Practice Unit 6: Array Questions →