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

class String
{
public static void main(String args[])
{
String s1="hai";
String s2="suresh";
String s3=s1.concat(s2);
System.out.println(s3);

}
}

Is This Answer Correct ?    3 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What are internal and external variables?

1006


Write a program based on Java script program.

1202


Write a program to print fibonacci series

1237


Explain list interface?

996


What is a map? What are the implementations of map?

1148


What is methods and methodology?

1073


Are constructors methods?

1073


What is the difference between a window and a frame in java programming?

1198


If a variable is declared as private, where may the variable be accessed?

1111


What are the different ways of implementing thread? Which one is more advantageous?

1039


What is bufferedreader in java?

1105


Is integer a class?

1131


What is meant by object oriented programming – oop?

1048


Explain about abstract classes in java?

1089


What exactly is a .class file?

1097