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 are strings immutable in Java?



Why are strings immutable in Java?..

Answer / hrindows@gmail.com

Strings in java are frequently used for hashmap keys. Now if someone changes the value of the string it will cause severe discrepancies. Hence strings are made immutable.

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More Core Java Interview Questions

What is object class in java?

0 Answers  


What is serializable interface?

13 Answers   Infosys, Probity Soft, Seed Infotech,


How do you decide when to use arraylist and linkedlist?

0 Answers  


Is linked list a linear or non-linear data structure?

0 Answers   Akamai Technologies,


What is application tier?

0 Answers  


What is an iterator java?

0 Answers  


Explain inner classes ?

0 Answers  


What are the various access specifiers in java?

0 Answers  


What restrictions are placed on method overloading in java programming?

0 Answers  


What is sizeof in java?

0 Answers  


What class of exceptions are generated by the java run-time system?

0 Answers  


how you will prevent inheritance is there any other way other than inheritance?

4 Answers   Wipro,


Categories