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