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?