हिंदी

State the output of the following program segment. String s = "Examination"; int n = s.length(); System.out.println(s.starts With(s.substring(5 ,n))); System.out.println(s.charAt(2) == s.charAt(6)); - Computer Applications

Advertisements
Advertisements

प्रश्न

State the output of the following program segment.

String s = "Examination"; 
int n = s.length(); 
System.out.println(s.starts With(s.substring(5 ,n))); 
System.out.println(s.charAt(2) == s.charAt(6));
लघु उत्तरीय

उत्तर

false
true

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

APPEARS IN

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

Englishहिंदीमराठी


      Forgot password?
Use app×