Oracle
1Z0-803 · Question #185
Which two statements are true for a two-dimensional array of primitive data type?
The correct answer is A. It cannot contain elements of different types. D. All methods of the class object may be invoked on the two-dimensional array.. something-else-entirely
Creating and Using Arrays
Question
Which two statements are true for a two-dimensional array of primitive data type?
Options
- AIt cannot contain elements of different types.
- BThe length of each dimension must be the same.
- CAt the declaration time, the number of elements of the array in each dimension must be specified.
- DAll methods of the class object may be invoked on the two-dimensional array.
How the community answered
(16 responses)- A88% (14)
- B6% (1)
- C6% (1)
Explanation
something-else-entirely
Topics
#multidimensional arrays#array properties#Object class
Community Discussion
No community discussion yet for this question.