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

What is integer size in java?

945


What is final access modifier in java?

1070


Which package is used for pattern matching with regular expressions?

1055


Are arrays static in java?

1005


Is intellij better than eclipse?

1023


What are the types of sockets in java?

1055


How to avoid memory leak in java?

1076


What is hashmap in java?

1018


Can you instantiate the math class?

991


explain different ways of using thread? : Java thread

960


What are sets in java?

888


Can you override private or static method in java?

930


What are different exception types exceptions available in java ?

950


What is a flag variable?

913


Can we convert list to set in java?

921