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

Is array an object in java?

944


What is the use of static class?

1157


What is procedure writing?

951


What is append function?

978


Can we force garbage collector to run ?

1041


Define array. Tell me about 2-D array.

1034


What are anonymous inner classes?

1000


How to create a thread in java?

1113


Can we create more than one object singleton class?

1021


How does java enable high performance?

1129


What is bufferedreader in java?

1032


What is the major advantage of external iteration over internal iteration?

1090


Why do we need hashmap in java?

1088


How to connect to a remote database using Applet?

2521


What is wrapper class example?

978