how we can write the string concatenation program in java.
Answer Posted / sreekanth
public class StringConcat{
public static void main(String args[]){
String str1="abc";
String str2="def";
String str3=str1.concat(str2);
System.out.println(str3);
}}
| Is This Answer Correct ? | 6 Yes | 0 No |
Post New Answer View All Answers
What is an interoperable application in java ?
What are java threads?
Which language is java?
What is the main purpose of serialization in java?
When should the method invokelater() be used?
Why for each loop is used?
How hashmap works in java?
What are desktop procedures?
Differece between class and generic class?
What are different types of expressions?
Is int a class in java?
How do you represent a space in regex java?
How do I find and replace in word?
What is boolean logic?
How do I run java on windows?