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;
}
+1
Answers (1)
Know the Answer?
Not Sure About the Answer?
Get an answer to your question ✅ “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 ...” in 📙 Computers & Technology if there is no answer or all answers are wrong, use a search bar and try to find the answer among similar questions.
Home » Computers & Technology » 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; }