java get size of array

Java
arrayname.length
Source

Also in Java: