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

can java object be locked down for exclusive use by a given thread? : Java thread

1017


Can you achieve runtime polymorphism by data members?

1072


Is empty list java?

870


How do I enable java in safari?

977


Can arraylist contain null values?

948


What is the best way to findout the time/memory consuming process?

972


What is static keyword?

1044


How is a structure different from array ?

990


Why are functions called methods in java?

941


How do you implement tree mirroring in java?

1008


How can constructor chaining be done using this keyword?

1206


What does n mean in java?

918


What are locale settings?

930


how to prepare for IT Officers Interview in Banks

1911


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

1173