Single Choice Not Set

QWhat will be the output of the following program?
public class Test{
        public static void main(String args[]){
		String str1 = "one";
		String str2 = "two";
		System.out.println(str1.concat(str2));
        }
}

ID: #2219 String in Java 1,360 views
Question Info
#2219Q ID
Not SetDifficulty
String in JavaTopic

Choose the Best Option

Click any option to instantly check if you're correct.

  • A one
  • B two
  • C onetwo
  • D twoone
Correct Answer

Explanation

onetwo

Share This Question

Challenge a friend or share with your study group.