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

What is the difference between serializable and externalizable interface?

1031


How to use string tokenizer class.

1121


What is int lol?

1087


What is the requirement of thread in java?

993


what is the use of pojo (plain old java objects)? how it is interact with crystal reports? pls urgent

2104


What is Garbage Collection in Java

1026


What is mean by exception?

964


How do you change an int to a string?

946


Why java is called not pure object oriented language?

966


What is the file type?

962


What are the 3 types of loops in java?

986


Why do we need data structure in java?

1016


What is the difference between equals() and?

1114


Is null a string or object in java?

918


Is string is a data type in java?

979