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...

how we can write the string concatenation program in java.

Answer Posted / kandavel

class conc
{
public static void main(String args[])
{
String a="kanda",b="Vel",c;
c=a+b;
System.out.println(" Concat String :"+c);
}}

//This program must save the file name is conc.java

Is This Answer Correct ?    17 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is meant by method overriding?

1166


which pattern is default in scanner package?

2268


What is meant by data hiding/encapsulation?

1157


Can an object be null?

1012


Explain about interthread communication and how it takes place in java?

1076


What is the maximum length of a url?

1019


What is difference between == equals () and compareto () method?

1097


What are the differences between this and super keyword?

983


How does hashset work in java?

1179


How many threads does a core java have?

1129


What is a copy constructor in java?

1198


Write a program to print the pattern given below

990


Is null a string?

1051


Can you start a thread twice in Java?

1171


What will be the output of round(3.7) and ceil(3.7)?

1168