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 the difference between String and StringBuffer classes?

Answer Posted / kishore cheruku

a) String objects are constants and immutable whereas StringBuffer objects are not. b) String class supports constant strings whereas StringBuffer class supports growable and modifiable strings.

Is This Answer Correct ?    23 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Can static method access instance variables ?

1136


What does this () mean in java?

979


When should you make a function static?

989


How do you differentiate abstract class from interface?

961


Is treeset sorted in java?

986


What is meant by binding in rmi?

1009


How can you generate random numbers in java?

1047


what are Hostile Applets?

2081


What are the actions that can occur when a thread enters blocked state?

1058


Can a constructor be private and how are this() and super() method used with constructor?

1004


Is empty string in java?

1177


Does string is thread-safe in java?

1087


explain local datetime api in java8?

1011


How to perform binary search in java?

998


Is empty in java?

1058