What is length in Java Arrays?
Answers
Answered by
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
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