Answer Posted / shaik baji
length: It's a built-in property to determine the size of
any array.
lenght(): It's a method of java.lang.String class.
Syntax:
-------
public int length()
It returns the length of the string. The length is equal to
the number of 16-bit Unicode characters in the string.
| Is This Answer Correct ? | 6 Yes | 0 No |
Post New Answer View All Answers
What is method overloading in JAVA? Why is it not present in C ?
What is rule of accessibility in java?
What is anti pattern in programming?
Does java support multiple inheritances?
Is age a discrete variable?
Can I extend singleton class in java?
How much ram can a 64 bit processor theoretically?
explain copyonwritearraylist and when do we use copyonwritearraylist?
why an outer class cannot be declared as private?
What is the original name of java?
What is your platform’s default character encoding?
Can an abstract class be a final class?
What is a dynamic array in java?
Why string objects are immutable in java?
Which sorting is best in java?