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 & StringBuffer

Answer Posted / ramesh raju

String s1="prabas";
String s2="raju";
String s3=s1.concat(s1);//s1=s2.concat("xyz") its not work
We didn't chang the content of s1,s2 strings
that's y String is Immutable

where as StringBuffer is mutable we can easly modified the
content

Is This Answer Correct ?    26 Yes 43 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How many boolean functions are there?

952


What is binary tree in java?

1049


Explain Basics of OOP Language in java

1049


What is the impact of declaring a method as final?

1013


Is it possible to override the main method?

971


What is string literal in java?

1042


What does || || mean in math?

931


What is a condition in programming?

1005


Explain the significance of class loaders in bootstrap?

940


Why singleton pattern is better than creating singleton class with static instance?

990


EDS (Electronic Data Systems India Pvt Ltd) at Chennai on 16-12-2006.

9202


What is stack explain?

987


What is static variable with example?

1001


Why deletion in linkedlist is fast than arraylist?

1088


Explain about map interface in java?

987