Q. Identify the output of the following program.
Code:Public class Test{
Public static void main(String argos[]){
String str1 = “one”;
String str2 = “two”;
System.out.println(str1.concat(str2));
}
}
β
Correct Answer: (C)
ontwo