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 is the best way to use for String concatenation in
Java?

Answer Posted / harshal

'+'operator is the best way to concatenate bcz by using
this operator we can concatenate more than two strings.
This is not possible by using concat method.
But performanace wise "append" is better than "+".

Is This Answer Correct ?    5 Yes 2 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How do you do a line break in java?

1082


what is mena by object block any what is the use of that

2262


What is meant by object?

1057


What do you mean by aggregation?

1412


What is illegal identifier in java?

1075


What is the use of http-tunneling in rmi?

1103


What is jvm? How its run?

1137


When do we use synchronized blocks and advantages of using synchronized blocks?

1279


What is mean by encoding?

1124


What is getclass () getname () in java?

1197


What is method reference?

1035


how to know the total memory occupied by the objects in the ArrayList(Array list may contain duplicate objects)

2391


how to deploy tomcatserver to weblogic server? write d following steps?

2007


How many arguments can a method have java?

1068


What is boolean in java?

1029