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

Why javac is not recognized?

0 Answers  


How the elements are organized in BorderLayout?

5 Answers  


What is meant by interface?

0 Answers  


what is the main class of all the classes

5 Answers   Photon,


Static Variable can referred in non-static method?

3 Answers  


Are the equals() and hashCode() protected methods of object class?

1 Answers   Avaya,


What is the use of hashmap in java?

0 Answers  


What is a databasemetadata?

0 Answers  


What do you understand by looping in java? Explain the different types of loops.

0 Answers  


What is the difference between reader/writer and inputstream/output stream?

0 Answers  


How to set the permissions to a file in java?

0 Answers  


Which class represents the socket that both the client and server use to communicate with each other?

0 Answers  


Categories