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 = 100;
for(int i = 0; i < SUB; i++)
{
x[i] = y;
y += 10;
}

```

a. 170
b. 180
c. 190
d. 200


b. 180

Computer Science & Information Technology

You might also like to view...

Table test

2019 2019
Net Sales $850,000 $798,000
Cost of Goods Sold 635,000 580,000
Selling and Administrative Expenses 50,000 35,000

Computer Science & Information Technology

The Portable Document Format was created by Microsoft.

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

Computer Science & Information Technology

The __________ method determines whether a String ends with a particular substring.

a) checkEnd b) stringEnd c) endsWith d) endIs

Computer Science & Information Technology

Which of the following is NOT a major cause of ERP implementation failure?

A. Failure to involve affected employees in the planning and development phases B. Failure to perform testing for the new system C. Insufficient funding D. Insufficient training

Computer Science & Information Technology