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


which class to use when concatenating
strings in a loop.

Answers were Sorted based on User's Feedback



which class to use when concatenating strings in a loop...

Answer / geeta

StringBuffer

Is This Answer Correct ?    7 Yes 0 No

which class to use when concatenating strings in a loop...

Answer / sitaram

string buffer and string builder classes are used to
concatenate the two or more strings in a loop.

Is This Answer Correct ?    1 Yes 0 No

which class to use when concatenating strings in a loop...

Answer / narasimha

we any use the both classes String and StringBuffer.
but if we use StringBuffer it would be advatagebecase we
are going to create only one Object.if we use the String
class it is going to create the one for each itration.now
it up to you which one to use

Is This Answer Correct ?    4 Yes 4 No

Post New Answer

More Core Java Interview Questions

What is string in java with example?

0 Answers  


How can we make a class virtual?

0 Answers   Fidelity,


what is the need of the Ajax?

5 Answers   iFlex,


What is a container in a gui?

0 Answers  


Is java a pure object oriented language?

0 Answers  


Difference between throw and throws?

0 Answers  


what is a static block?

4 Answers  


What is the is a and has a relation ship in oops concept in java?

9 Answers   BearingPoint, TCS,


Can we define private and protected modifiers for variables in interfaces?

0 Answers  


How can you take string into InputStream?

3 Answers  


we have a 100 classes at that time which class we have to write main method? pls help me

6 Answers   Wipro,


What is difference between abstract class & final class

7 Answers  


Categories