MCQOPTIONS
Saved Bookmarks
| 1. |
What will be the output of the program? for (int i = 0; i < 4; i += 2) { System.out.print(i + " "); } System.out.println(i); /* Line 5 */ |
| A. | 0 2 4 |
| B. | 0 2 4 5 |
| C. | 0 1 2 3 4 |
| D. | Compilation fails. |
| Answer» E. | |