MCQOPTIONS
Saved Bookmarks
| 1. |
What is the output of this program? class Output { public static void main(String args[]) { Double i = new Double(257.578123456789); float x = i.floatValue(); System.out.print(x); } } |
| A. | 0 |
| B. | 257.0 |
| C. | 257.57812 |
| D. | 257.578123456789 |
| Answer» D. 257.578123456789 | |