हिंदी

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×