Multiple Choice
What will be the value of x[8] after the following code is executed?
final int SUB = 12;
Int[ ] x = new int[SUB];
Int y = 20;
For(int i = 0; i < SUB; i++)
{
X[i] = y;
Y += 5;
}
A) 50
B) 55
C) 60
D) 65
Correct Answer:

Verified
Correct Answer:
Verified
Related Questions
Q11: Any items typed on the command line,
Q12: Java limits the number of dimensions that
Q13: Which of the following is a correct
Q14: The _ method is used to insert
Q15: You can use the _ method to
Q17: If final int SIZE = 15 and
Q18: A(n) _ is used as an index
Q19: Which of the following is a valid
Q20: For the following code, what would be
Q21: When an array is passed to a