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 / 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


Please Help Members By Posting Answers For Below Questions

What is method overloading in JAVA? Why is it not present in C ?

1038


What is rule of accessibility in java?

966


What is anti pattern in programming?

912


Does java support multiple inheritances?

970


Is age a discrete variable?

918


Can I extend singleton class in java?

1040


How much ram can a 64 bit processor theoretically?

835


explain copyonwritearraylist and when do we use copyonwritearraylist?

904


why an outer class cannot be declared as private?

4226


What is the original name of java?

1012


What is your platform’s default character encoding?

1018


Can an abstract class be a final class?

917


What is a dynamic array in java?

1098


Why string objects are immutable in java?

996


Which sorting is best in java?

961