what is difference between length and length()?

Answer Posted / manish

length is the variable for for calculating the length of primitive type variable and length() is the method object class for calculating the length of any object..

Is This Answer Correct ?    1 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What are the advantages of java inner classes?

551


What is difference between overloading and overriding in java?

521


What does java ide mean?

631


What is annotation in java?

569


Explain when noclassdeffounderror will be raised ?

611






What is the benefit of inner / nested classes ?

519


What are the major drawbacks of external iteration?

566


What are the object and class classes used for?

547


What methods are used in Servlet?Applet communication?

1657


What is stack class in java?

536


Why call by value prevents parameter value change?

577


What is the difference between normal report & matrix report?

559


What is int short for?

506


What is bufferedreader in java?

576


What is java regex?

528