हिंदी

Give the output of the following: String n = "Computer Knowledge"; String m = "Computer Applications”; System.out.println(n.substring(0,8).concat(m.substring(9))); System.out.println(n.endsWith("e")); - Computer Applications

Advertisements
Advertisements

प्रश्न

Give the output of the following: 

String n = "Computer Knowledge";
String m = "Computer Applications”;
System.out.println(n.substring(0,8).concat(m.substring(9)));
System.out.println(n.endsWith("e"));
लघु उत्तरीय

उत्तर

Computer Applications

true

shaalaa.com
  क्या इस प्रश्न या उत्तर में कोई त्रुटि है?
अध्याय 4: String Handling - EXERCISES [पृष्ठ २८८]

APPEARS IN

अविचल Computer Applications [English] Class 10 ICSE
अध्याय 4 String Handling
EXERCISES | Q IV. 9. | पृष्ठ २८८
Share
Notifications

Englishहिंदीमराठी


      Forgot password?
Use app×