Question: Why wont the following code execute? double values[] = new double[5]; values[5] = 6; The brackets in the first statement are misplaced. An int value
Why wont the following code execute? double values[] = new double[5]; values[5] = 6;
| The brackets in the first statement are misplaced. |
| An int value cant be assigned to a double. |
| The index is out of bounds. |
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
