AP Computer Science Aeasymcq1 pt

The default value of each element in a new int array is

A.0
B.null
C.false
D.undefined

Explanation

Core Concept

int elements default to zero.

Correct Answer

A0

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 →