Q. What is the output of the below Java program?
Code:int ages[3] = {25, 27, 30};
System.out.println(ages[1]);
β
Correct Answer: (D)
Compile error
int ages[3] = {25, 27, 30};
System.out.println(ages[1]);
You must be Logged in to update hint/solution