AP Computer Science Amediummcq1 pt

In Java, a 2D array is stored in memory as

A.an array of references to row arrays
B.one contiguous block
C.a linked list
D.a hash table

Explanation

Core Concept

Rows are separate arrays.

Correct Answer

Aan array of references to row arrays

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 →