MCQOPTIONS
Saved Bookmarks
| 1. |
What will be the output of the program? int i = (int) Math.random(); |
| A. | i = 0 |
| B. | i = 1 |
| C. | value of i is undetermined |
| D. | Statement causes a compile error |
| Answer» B. i = 1 | |