how to find the size of string array in java code example Example: java get size of array arrayname.length