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

Why enumeration is faster than iterator?

937


What is the purpose of the system class in java programming?

1107


What is compareto?

1040


Why is string builder not thread safe?

1068


Which object oriented concept is achieved by using overloading and overriding?

1117


What is the difference between super class & sub class?

1197


What java is used for?

1079


What is mvc in java?

1017


How do you allocate memory to object?

1001


How many types of memory areas are allocated by JVM in java?

1072


What is meant by object oriented programming – oop?

992


Is oracle java 11 free?

967


What are 4 pillers of object orinted programming?

1017


Tell me about different OOPS concepts.

1006


Define how objects are stored in java?

1068