

MCQOPTIONS
Saved Bookmarks
1. |
What is the output of this program?
public class Result { public static void main(String args[]) { boolean p = false; boolean q = true; boolean r = q ^ p; System.out.println(!r); } } |
A. | false |
B. | 0 |
C. | 1 |
D. | true |
E. | None of these |
Answer» B. 0 | |