Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

what is difference between length and length()?

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


Please Help Members By Posting Answers For Below Questions

Program to Find the second largest element in an array.

1106


Explain abstract class in java?

986


Can we declare the static variables and methods in an abstract class?

936


What is a lock or purpose of locks in java?

971


Does java trim remove newline?

923


Is break statement can be used as labels in java?

910


What is meant by inheritance and what are its advantages?

1039


What are the differences between string and stringbuffer?

1056


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

878


What will be the output of round(3.7) and ceil(3.7)?

1066


What are Normalization Rules? Define Normalization?

978


Write a program to print 15 random numbers using foreach of java 8?

888


Which are different kinds of source code?

1050


Explain about map interface in java?

943


Why collection is called framework in java?

927