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
Is array an object in java?
What is the use of static class?
What is procedure writing?
What is append function?
Can we force garbage collector to run ?
Define array. Tell me about 2-D array.
What are anonymous inner classes?
How to create a thread in java?
Can we create more than one object singleton class?
How does java enable high performance?
What is bufferedreader in java?
What is the major advantage of external iteration over internal iteration?
Why do we need hashmap in java?
How to connect to a remote database using Applet?
What is wrapper class example?