0
/ 10
In the following code, which line will produce an error?
public class Answer { int[] nums = new int[5]; // Line 1 nums[0] = 1000000; //...
In the following code, which line will produce an error?
public class Answer {
int[] nums = new int[5]; // Line 1
nums[0] = 1000000; // Line 2
nums[1] = 557; // Line 3
nums[2] = 2147483648; // Line 4
nums[3] = 2111; // Line 5
nums[4] = 001; // Line 6
}
Your feedback will appear here when you check your answer.