arr[3].length()); System.out.print(ar - Computer Applications | Shaalaa.com" /> arr[3].length()); System.out.print(ar " /> arr[3].length()); System.out.print(ar" />
English

Consider the following String array and give the output. String arr[]= {"DELHI'', "CHENNAI", "MUMBAI", "LUCKNOW", "JAIPUR"}; System.out.println(arr[O].length() > arr[3].length()); System.out.print(ar - Computer Applications

Advertisements
Advertisements

Question

Consider the following String array and give the output.

String arr[]= {"DELHI'', "CHENNAI", "MUMBAI", "LUCKNOW", "JAIPUR"}; 
System.out.println(arr[O].length() > arr[3].length()); 
System.out.print(arr[4].substring(0, 3));
Answer in Brief

Solution

false

JAI

shaalaa.com
  Is there an error in this question or solution?
Chapter 4: String Handling - EXERCISES [Page 288]

APPEARS IN

Avichal Computer Applications [English] Class 10 ICSE
Chapter 4 String Handling
EXERCISES | Q IV. 12. | Page 288
Share
Notifications

Englishहिंदीमराठी


      Forgot password?
Use app×