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

Is sizeof a preprocessor?

0 Answers  


Is call by reference possible in java?

0 Answers  


What technique is carried out to find out if a particular string is empty?

0 Answers  


what is filters and its use?

2 Answers   Virtusa,


Explain parallel processing in java8?

0 Answers  


What are the different conditional statements?

0 Answers  


When you Click a Button, What event will be fired?

5 Answers  


How to declare unique ArrayList ?

6 Answers   RMSI,


Are global variables initialized to zero?

0 Answers  


What are void pointers?

1 Answers  


Which class contains a method: cloneable or object?

0 Answers  


What is super in java?

0 Answers  


Categories