Multiple Choice
What will be the value of x[8] after the following code has been executed? final int SUB = 12;
Int[] x = new int[SUB];
Int y = 100;
For(int i = 0; i < SUB; i++)
{
X[i] = y;
Y += 10;
}
A) 170
B) 180
C) 190
D) 200
Correct Answer:

Verified
Correct Answer:
Verified
Related Questions
Q10: Which of the following is a correct
Q30: What will be the value of x[1]
Q31: In memory, an array of String objects<br>A)
Q32: In Java, you do not use the
Q35: An array can hold multiple values of
Q36: What will be returned from the following
Q37: Which of the following is a correct
Q38: Any items typed on the command-line, separated
Q39: What will be the value of x[8]
Q61: The String [ ] args parameter in