मराठी

What do the following functions return? String x = "Vision";String y = "2020"; System.out.println(x + y); System.out.printh1(x.length ()); System.out.println(x.charAt(3)); System.out.println(x.equals - Computer Applications

Advertisements
Advertisements

प्रश्न

What do the following functions return? 

String x = "Vision";
String y = "2020";

  1. System.out.println(x + y);
  2. System.out.printh1(x.length ());
  3. System.out.println(x.charAt(3));
  4. System.out.println(x.equals(y)); 
थोडक्यात उत्तर

उत्तर

  1. Vision2020
  2. 6
  3. i
  4. false
shaalaa.com
  या प्रश्नात किंवा उत्तरात काही त्रुटी आहे का?
पाठ 4: String Handling - EXERCISES [पृष्ठ २८७]

APPEARS IN

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

Englishहिंदीमराठी


      Forgot password?
Use app×