Advertisements
Advertisements
Question
Write the output of the codes given below.
String s1 = "Stay Active"; String s2 = "Stay Creative";
String sst1 = s1.substring(5, 11); String sst2 = s2.substring(5);
System.out.print("Always "+sst2+" and" +sst1);Very Short Answer
Advertisements
Solution
Always creative and active
shaalaa.com
Is there an error in this question or solution?
