length - This is a instance variable of array in java. It returns the length of an array, number of elements stored in an array.
length() - This is a method in java. It is a static method of String class. It returns the length of a string object.
length() - This is a method in java. It is a static method of String class. It returns the length of a string object.
No comments:
Post a Comment