Which two statements are true for a two-dimensional array?

Which two statements are true for a two-dimensional array?

Which two statements are true for a two-dimensional array?

A.
All methods of the class Object may be invoked on the two-dimensional array.

B.
It is implemented as an array of the specified element type.

C.
Using a row by column convention, each row of a two-dimensional array must be of the
same size.

D.
At declaration time, the number of elements of the array in each dimension must be
specified.



Leave a Reply 2

Your email address will not be published. Required fields are marked *


imyrta

imyrta

Answers: A, B

Explanation:

C is wrong because is not mandatory for the 2d array to have rows of the same size.
D is wrong because the number of elements of the array in each dimension must be
specified on initialization not declaration time.