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

Is ruby built on java?

896


What is jee6?

1010


Can you explain the private protected field modifier?

966


why we use merge option in hybernate pls give a ex snippet

1927


What are the different types of inheritance in java?

950


What is the purpose of final keyword and when to use it?

940


What are decalarations?

1060


What are drawbacks of singleton class?

904


Tell me about your ability to work under pressure

2145


Can java run on google chrome?

1134


What are the uses of java?

1023


What is the base class of all exception classes in java?

998


Explain the difference between map and flatmap stream operation?

1194


Difference between ‘>>’ and ‘>>>’ operators in java?

1072


Explain the differences between abstraction and encapsulation?

992