हिंदी

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×