Which two statements are true for a two-dimensional array of primitive data type?

Which two statements are true for a two-dimensional array of primitive data type?

Which two statements are true for a two-dimensional array of primitive data type?

A.
The length of each dimension must be the same.

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

C.
All methods of the class object may be invoked on the two-dimensional array.

D.
It cannot contain elements of different types.



Leave a Reply 0

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