What output is produced by the following code fragment?

```
for (int num = 0; num <= 200; num += 2)
System.out.println(num);
```

The output produced is the even numbers from 0 to 200:
0
2
4
and so on until…
198
200

Computer Science & Information Technology

You might also like to view...

A surface chart

A) contains a single chart and no spreadsheet data. B) displays trends using two dimensions on a continuous curve. C) displays relationships among three values by using bubbles. D) displays values as percentages of the whole but may contain more than one data series.

Computer Science & Information Technology

Which of the following is a private combination of characters associated with a user name that allows access to certain computer resources?

A. folder B. password C. user name D. cipher

Computer Science & Information Technology