What output is produced by the following code fragment?
```
int num = 1, max = 20;
while (num < max)
{
if (num%2 == 0)
System.out.println(num);
num++;
}
```
The output produced is:
2
4
6
8
10
12
14
16
18
Computer Science & Information Technology
You might also like to view...
In the Replace dialog box, the Find what box is where you type the text you want to replace the previous text
Indicate whether the statement is true or false
Computer Science & Information Technology
Which tool is used to exploit a target as well as perform information gathering?
A. Robtex B. Metasploit C. Th3Inspector D. theHarvester
Computer Science & Information Technology