Vidyalelo
Java Programming · Q5

Array

Programming · Java Programming · question 5

Q5

What does the length attribute of an array in Java represent?

A.
The number of elements in the array
Answer
B.
The maximum value of elements in the array
C.
The length of the variable name
D.
The number of dimensions

Answer: Option A

Solution

Answer: Option A
No explanation is given for this question Let's Discuss on Board