Which of the statements is true about the following code snippet?

```
int[] array = new int[25];
array[25] = 2;
```


a) The integer value 2 will be assigned to the last index in the array.
b) The integer value 25 will be assigned to the second index in the array.
c) The integer value 25 will be assigned to the third value in the array.
d) This code will result in a compile-time error.
e) This code will result in a run-time error.

e) This code will result in a run-time error.

Computer Science & Information Technology

You might also like to view...

A(n) ________ is the intersection of a row and a column in a table

Fill in the blank(s) with correct word

Computer Science & Information Technology

A(n) ________ query prompts you to supply the criteria when the query is run

Fill in the blank(s) with correct word

Computer Science & Information Technology