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

why string is not taking as primitive datatypes but we r
taking it as a class? why explain it?

Answer Posted / payel

String should be class so that it can be immutable and
making String immutable, makes it thread safe and
thus imporves performance.

Is This Answer Correct ?    2 Yes 2 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How do you sort words in java?

891


What is exception hierarchy in java?

973


What is the difference between access specifiers and access modifiers in java?

1117


How do I stop concurrentmodificationexception?

986


What are the wrapped, classes?

1020


Can I override protected method in java?

1030


What is run time allocation?

984


explain different ways of using thread? : Java thread

972


How to reverse string in java?

1151


what do you understand by synchronization? : Java thread

949


What is difference between filereader and bufferedreader?

910


Why is singleton instance static?

960


what are three ways in which a thread can enter the waiting state? : Java thread

963


What are the different types of sorting in java?

948


How many bytes are a float?

939