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

Why are the methods of the math class static?

1077


What is instanceof keyword?

1216


What is the similarity between dynamic binding and linking?

1122


How do you sort objects in java?

976


Is static a keyword in java?

984


Can you give names of Container classes?

2306


What is array pointers ?

1034


What is the default value of byte datatype in java?

936


What is use of inner class in java?

1152


Will minecraft java be discontinued?

1170


What is string buffer?

943


What is ternary operator in java?

1065


What is the format specifier?

940


How can we create an immutable class in java?

1067


What is the static block?

1069