MCQOPTIONS
Saved Bookmarks
| 1. |
What is the output of this program?class mainclass { public static void main(String args[]) { boolean var1 = true; boolean var2 = false; if (var1) System.out.println(var1); else System.out.println(var2); } } |
| A. | 0 |
| B. | 1 |
| C. | true |
| D. | false |
| Answer» D. false | |