nerdexam
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)
  • A
    88% (14)
  • B
    6% (1)
  • C
    6% (1)

Explanation

something-else-entirely

Topics

#multidimensional arrays#array properties#Object class

Community Discussion

No community discussion yet for this question.

Full 1Z0-803 Practice