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 / govind

class stringadd
{
public static void main(String args[])
{
String a="hello";
System.out.println("the string is::"+a);
a+=" govind";
System.out.println("after concating::"+a);
}
}

Is This Answer Correct ?    10 Yes 5 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is a parameter in java?

956


Why is multiple inheritance not supported in java?

972


What do u mean by variable?

997


What is a qms manual?

949


What do you mean by pointer value and address?

1004


Explain different types of thread priorities ?

1044


What is collection sort in java?

908


Is java map thread safe?

900


How many types of threads are there in java?

1000


How many types of methods are there in java?

959


What is the purpose of object oriented programming?

927


What are the characteristics of Final,Finally and Finalize keywords.

1130


Is there any difference between synchronized methods and synchronized statements?

1058


What is a variable analysis?

1033


What is the difference between access specifiers and access modifiers in java?

1109