मराठी

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+"

Advertisements
Advertisements

प्रश्न

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);
अति संक्षिप्त उत्तर
Advertisements

उत्तर

Always creative and active

shaalaa.com
  या प्रश्नात किंवा उत्तरात काही त्रुटी आहे का?
पाठ 10: String Handling - Exercises [पृष्ठ २४६]

APPEARS IN

रूपा पंडित Computer Applications [English] Class 10 ICSE
पाठ 10 String Handling
Exercises | Q 3. (a) | पृष्ठ २४६
Share
Notifications

Englishहिंदीमराठी


      Forgot password?
Use app×