मराठी

Write the output of the codes given below.String sc = "CLOCК"; String st = "TIME"; int sclen = sc.length(); String p1 = st.substring(0, 2); String p2 = sc.substring (3, sclen);

Advertisements
Advertisements

प्रश्न

Write the output of the codes given below.

String sc = "CLOCК";     String st = "TIME";
int sclen = sc.length();
String p1 = st.substring(0, 2);   String p2 = sc.substring (3, sclen);
System.out.print(p1 + p2);
अति संक्षिप्त उत्तर
Advertisements

उत्तर

TICK

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

APPEARS IN

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

Englishहिंदीमराठी


      Forgot password?
Use app×