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 does math floor () do?

0 Answers  


y cant i declare method like public final static show()

3 Answers  


what is sendredirect?

7 Answers   TCS,


Give few difference between constructor and method?

0 Answers  


Describe the process as to how substring() methodology mechanisms in java.

0 Answers  


What is the difference between static method and instance method in Java?

0 Answers   SwanSoft Technologies,


What is collection class in java?

0 Answers  


What is an object in java and how is it created?

0 Answers  


What is the purpose of using break in each case of switch statement?

0 Answers  


What is a data structure java?

0 Answers  


What is the difference between final, finally and finalize() in java?

0 Answers  


What is the concatenation operator in java?

0 Answers   Aspire, Infogain,


Categories