1.

Write the output for the following:String s1 = “phoenix”; String s2 =”island”; System.out.prindn (s1.substring(0).concat (s2.substring(2))); System.out.println(s2.toUpperCase( ));

Answer»

phoenix land ISLAND



Discussion

No Comment Found

Related InterviewSolutions