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...

When you say String is immutable, what do you mean by that?
Say I have String s = "Ness"
s= s+"Technologies";
What will happen? If the value gets appended, then what is
the meaning of immutable here?

Answer Posted / harmetkrishanan

every time a new String object gets created in this case.

Is This Answer Correct ?    24 Yes 5 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Can you give few examples of final classes defined in java api?

1006


What is the Concept of Encapsulation in OOPS

1002


What is a singleton class? Give a practical example of its usage.

1105


What is the difference between yield() and sleep()?

1017


Is nan false?

981


What is the use of arrays tostring () in java?

1041


Why java is considered dynamic?

1178


How does linkedhashmap work in java?

1026


What is private static class in java?

1020


What is the function of compareto in java?

1055


Tell some latest versions in JAVA related areas?

985


What is floor math?

1007


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

1216


What is argument in java?

1022


How do you make an arraylist empty in java?

932