MCQOPTIONS
Saved Bookmarks
| 1. |
What is the output of this program?public class Result { public static void main(String args[]) { Double num = new Double(260.062); int p = num.intValue(); System.out.print(p); } } |
| A. | 260.062 |
| B. | 260 |
| C. | 260.06 |
| D. | 260.0 |
| E. | 260.260 |
| Answer» C. 260.06 | |