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

Difference between String and StringBuffer.

Answer Posted / minu

hi
i am agree with Madhu ,
String is an immutable object. StringBuffer is a mutable
object.
immutable object:If you are not allowed to change the value
of an object, it is immutable object.

mutable object: If a object value is changeable then we can
call it as Mutable object.

Is This Answer Correct ?    14 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How to add menushortcut to menu item?

995


Is object a data type in java?

1102


What are the drawbacks of reflection?

1002


What are the different data types in java?

994


What is the major advantage of external iteration over internal iteration?

1097


What are void methods?

1013


Why does java have two ways to create child threads? Which way is better?

1036


What is variable in java?

979


What is valid keyword in java?

988


If we allocate the memory using 'new' & de-allocated using 'free' then what will happen?

1036


Can a variable be local and static at the same time?

994


Can we nested try statements in java?

1090


What is singletonlist in java?

956


Is singleton set an interval?

956


Can variables be used in java without initialization?

1068