AP Computer Science Aeasymcq1 pt

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

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

Explanation

Core Concept

boolean elements default to false.

Correct Answer

Afalse

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 →