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 nextline method in java?
How does the java compiler work?
How will you reverse a link list without using recursion?
Explain different forms of polymorphism?
What do you understand by a Static Variable?
What are streams in java 8?
How do you override a variable in java?
What is the program development process?
What are the basics of core java?
Explain super keyword in java.
What is constructor and virtual function? Can we call a virtual function in a constructor?
What is threaded programming and when is it used? : Java thread
What is instance means in java?
What are advantages of using Java?s layout managers than windowing systems?
What are advantages of exception handling in java?