Answer Posted / rakesh
length is used as member of Object class such as String or
array as a member variable
and length() is a fuction which returns length of object
in characters
| Is This Answer Correct ? | 1 Yes | 0 No |
Post New Answer View All Answers
Program to Find the second largest element in an array.
Explain abstract class in java?
Can we declare the static variables and methods in an abstract class?
What is a lock or purpose of locks in java?
Does java trim remove newline?
Is break statement can be used as labels in java?
What is meant by inheritance and what are its advantages?
What are the differences between string and stringbuffer?
what do you understand by synchronization? Or what is synchronization and why is it important? Or describe synchronization in respect to multithreading? Or what is synchronization? : Java thread
What will be the output of round(3.7) and ceil(3.7)?
What are Normalization Rules? Define Normalization?
Write a program to print 15 random numbers using foreach of java 8?
Which are different kinds of source code?
Explain about map interface in java?
Why collection is called framework in java?