0
A little theoretical confusion
java has a string function named length() calculating length of string but what is length in array.length?an object or datatype?
2 Respostas
0
array.length is class member constant of array and its datatype is int,
int[] a = {1,2,3,4,5};
byte len = a.length; // error: lossy conversion from int to byte
array itself internally is object
0
~ swim ~ does that read-only property have any specific name?