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 / vinod kumar

It is an advantage
performance: knowing that a string is immutable makes it
easy to lay it out at construction time — fixed and
unchanging storage requirements

Is This Answer Correct ?    3 Yes 3 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What initialize variables?

945


What is __ init __ functions?

1031


From the two, which would be easier to write: synchronization code for ten threads or two threads?

998


Which class is the superclass for all the classes?

970


What are methods in java?

940


How do you compare two objects?

875


What is the difference between superclass and subclass?

1080


What is the difference between sop and work instruction?

864


What is math exp in java?

999


Can a class have multiple superclasses?

1074


What is an example of declaration?

945


Can we have try block without catch block?

982


What is the purpose of the return statement?

982


Why does java does not support multiple inheritance? Explain

922


Why can't you declare a class as protected?

1045