Determine the number of elements present in an array.
String[] |
The length property provides the size of an array.
This is an inherent property in Java and is not specific to the Java Arrays Class.
Note: The length property should not be confused with the length() method used for Strings.
array.
|