public class RightShift_Operator { public static void main(String args[]) { int a; a = 100; a = a >> 1; System.out.println(a); } }
Right shift operator, >>, devides the value by 2.output: 50
Previous Question Next Question
Your comments will be displayed only after manual approval.