1.

What is the output of this program?
 class rightshift_operator { public static void main(String args[]) { int x; x = 10; x = x >> 1; System.out.println(x); } } 

A. 10
B. 5
C. 2
D. 20
Answer» C. 2


Discussion

No Comment Found