MCQOPTIONS
Saved Bookmarks
| 1. |
What is the output of this program? class Output { public static void main(String args[]) { String str = "true false true"; boolean x = Boolean.valueOf(str); System.out.print(x); } } |
| A. | True |
| B. | False |
| C. | Compilation Error |
| D. | Runtime Error |
| Answer» C. Compilation Error | |