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 are the parts of methodology?
Can a static class have a constructor java?
What are variable names?
What is the set interface in java programming?
What is difference between variable declaration and definition?
What is string in java? String is a data type?
How do you create a first line indent?
How do you add an element to a set in java?
What is the difference between sleep and wait in java?
How many boolean functions are there?
Does collectionutils isempty check for null?
What is runtime locatable code?
Which sorting algorithm is best in java?
Which is better stringbuilder or stringbuffer?
List some oops concepts in java?