Leave a Reply 1

Your email address will not be published. Required fields are marked *


renko

renko

Answer: E
package q078;

public class Test {

public static void main(String[] args) {
String[] planets = {“Mercury”, “Venus”, “Earth”, “Mars”};
System.out.println(planets.length);
System.out.println(planets[1].length());
}
}
/*Output:
4
5
*/