In Java arrays are

TRUE ANSWER : ?
YOUR ANSWER : ?

What would be the result of attempting to compile and run the following code?public class HelloWorld{ public static void main(String[] args){ double[] x = new double[]{1, 2, 3}; System.out.println("Value is " + x[1]); }}

TRUE ANSWER : ?
YOUR ANSWER : ?