Question 1
Given the following statement
| int[] list = new int[10]; |
list.length has the value ________.
◦ 11
◦ The value depends on how many integers are stored in list.
◦ 9
◦ 10
Question 2
Given the following statement
int[] list = new int[10];
◦ The array variable list contains ten values of type int.
◦ The array variable list contains a memory address that refers to an array of 10 int values.
◦ The array variable list contains a memory address that refers to an array of 9 int values.
◦ The array variable list contains nine values of type int.