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

what is mean by String and StringBuffer?
What is mean by Methooverriding and Overloading?

Answer Posted / raja papaiah. m

When you create a string object, you are creating a string
that cannot be changed. this once a string object has been
created, you cannot change the character that comprise that
string. at first that may seem to be a serious restriction.
However, such is not the case. You can still perform all
types of string operations. The difference is that each time
you need an altered version of existing string,a new string
object is create that contains the modifications. The
original string is left unchanged. this approach is used
because fixed, immutable strings can be implemented more
efficiently than changeable ones. For those cases in which a
modification string is desired, Java provides two options:
StringBuffer and StringBuilder Both hold strings that can be
modified after they are created

Is This Answer Correct ?    2 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How do you use parseint in java?

981


What are the steps that are followed when two computers connect through tcp?

992


What are some examples of variable costs?

955


List two java ide’s?

1046


How many classes can any class inherit java?

970


Explain features of interfaces in java?

988


Why string is immutable or final in java

1084


What do you mean by garbage collection used in java?

1067


I want to re-reach and use an object once it has been garbage collected. Define how it’s possible?

1016


Does list allow duplicates in java?

930


Can a list be null in java?

1049


What is integer size in java?

1023


How do I convert a numeric ip address like 192.18.97.39 into a hostname like java.sun.com?

1006


Why we used vector class?

1069


What happens if we don’t define serial version uid?

1028