I have a simple program here .I know it Shift right zero fill operator. The left operands value is moved right by the number of bits specified by the right operand and shifted values are filled up with zeros.
package com.demo.operator;
public class Test123 {
public static void main(String args[]) {
int a = 60;
int c = 0;
c = a >>> 2;
System.out.println("a >>> 2 = " + c );
}
}
Output:a >>> 2 = 15
Can anyone tell me .
How to give the output a >>> 2 = 15
?