Which of the following statements is(are) true about this code?

```

final int ARRAY_SIZE = 10;
long[] array1 = new long[ARRAY_SIZE];
```

a. It declares array1 to be a reference to an array of long values.
b. It will allow valid subscripts in the range of 0 through 9.
c. It creates an instance of an array of ten long values.
d. It will allow valid subscripts in the range of 1 through 10.

a. It declares array1 to be a reference to an array of long values.
b. It will allow valid subscripts in the range of 0 through 9.
c. It creates an instance of an array of ten long values.

Computer Science & Information Technology

You might also like to view...

What modifier should you use on a class so that a class in the same package can access it but a class (including a subclass) in a different package cannot access it?

a. public b. private c. protected d. Use the default modifier.

Computer Science & Information Technology

The error message #VALUE! indicates the use of an incorrect argument or operand.

Answer the following statement true (T) or false (F)

Computer Science & Information Technology