Output : public class Test{ public static void main(String args[]){ String str1 = "one";String str2 = "two" ; System.out.println(str1.concat(str2)); } }

Question:
Output : public class Test{ public static void main(String args[]){ String str1 = "one";String str2 = "two" ; System.out.println(str1.concat(str2)); } }

1.one

2.two

3.onetwo

4.twoone

Posted Date:-2021-10-25 05:21:08


More MCQS Questions and answers

Search
R4R Team
R4Rin Top Tutorials are Core Java,Hibernate ,Spring,Sturts.The content on R4R.in website is done by expert team not only with the help of books but along with the strong professional knowledge in all context like coding,designing, marketing,etc!