मराठी

State the values stored in the variable str1 and str2. String s1 = "good"; String s2 = "world matters"; String str1 = s2.substring(5).replace('t', 'n'). String str2 = s1.concat(strl1); - Computer Applications

Advertisements
Advertisements

प्रश्न

State the values stored in the variable str1 and str2.

String s1 = "good"; String s2 = "world matters";
String str1 = s2.substring(5).replace('t', 'n').
String str2 = s1.concat(strl1);  

लघु उत्तर

उत्तर

Value of the variable str1 is: manners
Value of variable str2 is: good manners 

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

APPEARS IN

अविचल Computer Applications [English] Class 10 ICSE
पाठ 4 String Handling
Review Insight | Q 5. | पृष्ठ २८४
Share
Notifications

Englishहिंदीमराठी


      Forgot password?
Use app×