MCQOPTIONS
Saved Bookmarks
| 1. |
What happens when the following program is compiled and executed with the command - java test. Select the one correct answer. |
| A. | The program compiles and runs and prints 0 |
| B. | The program compiles and runs but does not print anything. |
| C. | The program compiles and runs and prints 2 |
| D. | The program compiles and runs and prints 1 |
| Answer» C. The program compiles and runs and prints 2 | |