Method to determine size of array in Java

Kilrsat

Golden Member
Jul 16, 2001
1,072
0
0
[arrayvariablename].length

or do you mean the number of elements that aren't null?