AP Computer Science Amediummcq1 pt

Given int[][] a = new int[3][4], the total number of elements is

A.12
B.7
C.9
D.16

Explanation

Core Concept

3 times 4 equals 12.

Correct Answer

A12

More Unit 8: 2D Array practice questions

Try a random question →

Practice more AP Computer Science A questions with full explanations

Practice Unit 8: 2D Array Questions →