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

What does s mean in regex?

1010


What is the difference between serial and throughput garbage collector?

1092


Give us a program to check for parenthesis matching using stack.

993


Can you use this() and super() both in a constructor?

976


What is the largest number a double can hold?

1039


What is string in java?

1004


what is object slice?

2074


hr interview how many minutes asking question

2042


How to split arraylist elements in java?

1162


Can we use a default constructor of a class even if an explicit constructor is defined?

1097


What is udp in java?

965


What is intern method in java?

1070


What are keywords in java?

998


Difference between error and exception

6037


How many types of operators are there?

975