Home / Report Question

Q. What does the length attribute of an array in Java represent?
  • A. The number of elements in the array
  • B. The maximum value of elements in the array
  • C. The length of the variable name
  • D. The number of dimensions

Correct Answer: A