Question: Given the following statements: int [ ] list; list = new int[10]; The array variable list contains an object that refers to an array of
Given the following statements:
int [ ] list;
list = new int[10];
| The array variable list contains an object that refers to an array of 10 int values. |
| The array variable list contains an object that refers to an array of 9 int values. |
| The array variable list contains a single integer. |
| The above has a compiler error. |
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
