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


c. 60

Computer Science & Information Technology

You might also like to view...

Which keyword is used to specify that a class will define the methods of an interface?

a. uses b. implements c. defines d. extends

Computer Science & Information Technology

Why does the NIC allocate very few Class A addresses?

What will be an ideal response?

Computer Science & Information Technology

Templates can have a variable number of slide layouts depending upon the complexity of the presentation._________________________

Answer the following statement true (T) or false (F)

Computer Science & Information Technology

Refer to the exhibit. Which of the pictured software is a port scanner?

What will be an ideal response?

Computer Science & Information Technology