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 api in java?
What is string :: npos?
What type of variable is error flag?
What do you understand by casting in java language?
Is 0 true or false in java?
What does java edition mean?
What is the use of isempty in java?
What is the relationship between clipping and repainting under awt?
What are different types of states exist for a thread?
What is a classloader in java?
Difference between static and dynamic class loading.
Tell me are there implementations for sorting and searching in the java libarary?
Explain the difference between treeset and treemap in java?
Can we define private and protected modifiers for the members in interfaces?
Is static variable stored in heap?