1.

What is the output of this program?public class Output { public static void main(String args[]) { int p = 5; int q = 6; int r = 7; p |= 4; q >>= 1; r <<= 1; p ^= r; System.out.println(p + " " + q + " " + r); } }

A. 11 3 14
B. 10 10 10
C. 11 2 15
D. 11 2 14
E. 2 3 14
Answer» B. 10 10 10


Discussion

No Comment Found

Related MCQs