Computer Science, asked by yashra844, 1 year ago

What is length in Java Arrays?

Answers

Answered by hasinaumar
0

The length of a Java array is the number of elements in the array.

So, in our integer array example, the length is five.

Arrays are fixed in java

once declared it cannot be changed .

Answered by Oreki
0

In Java, the array length is the number of elements that an array can hold.

We can find the array length in Java by using the array attribute length.

Similar questions