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 array size in java?
Is a string literal?
How to display all the prime numbers between 1 and 100
What is procedure overloading?
What do you mean by Function Overloading in java?
What are internal and external variables?
What causes memory leaks in java?
Explain different types of thread priorities ?
What does the append?
Explain the features of java?
23. Storage space in java is of the form Stack Queue Heap List 24. What is java code embedded in a web page known as Applets Servlets scriptlets snippets 25. Which of the following attributes are compulsory with an
Why do we use variables?
Can we inherit inner class?
How does a for loop work java?
Why is stringbuffer thread safe?