0
If we do a[].length. Can we call "length" a method in it. If yes, then of which library class contains this method?
Array
3 Respostas
+ 1
it is not a method but a property of array.
+ 1
length is used to calculate or rather returns the length of array while length() returns the length of String.
0
👍