हिंदी

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×