MCQOPTIONS
Saved Bookmarks
| 1. |
What is the output of this program? class Output { public static void main(String args[]) { double x = 3.14; int y = (int) Math.toDegrees(x); System.out.print(y); } } |
| A. | 0 |
| B. | 179 |
| C. | 180 |
| D. | 360 |
| Answer» C. 180 | |