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

string is immutable? right every one knows that, my
question is it advantage or disadvantage making string
immutable?

Answer Posted / chandu

Sting is Immutable.We can make String as mutable in the give ex
String s="Hello";
String s=s1;
String s2;
s2=s1.append("World");

Is This Answer Correct ?    1 Yes 2 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Where are local variables stored?

1019


What is polymorphism java example?

1071


What is a generic data type?

1120


What is one third plus one third as a fraction?

993


How many bits is a word?

1060


What is a string token?

1126


In the below example, how many string objects are created?

1098


Is it possible to use string in the switch case?

1102


Why we use multi threading instead of multiprocessing?

1123


What is an iterator java?

1202


Why pass by reference is not possible in java?

1109


What is difference between float and double?

1014


How to use arraylist in java netbeans?

1097


Can a class have a static inner class?

1121


What is covariant return type?

1157