Bitwise Operator's in Java

class ForgetCode {
public static void main(String args[]) {
   int a = 22;    /* 22= 0010 0010 */  
   int b = 45;    /* 45 = 0100 0101 */
   int c = 0;

   c = a & b;       
   System.out.println("a & b = " + c );

   c = a | b;     
   System.out.println("a | b = " + c );

   c = a ^ b;    
   System.out.println("a ^ b = " + c );

   c = ~a;         
   System.out.println("~a = " + c );

   c = a << 2;    
   System.out.println("a << 2 = " + c );

   c = a >> 2;  
   System.out.println("a >> 2  = " + c );

   c = a >>> 2;    
   System.out.println("a >>> 2 = " + c );
}
} 

Output:
a & b = 4
a | b = 63
a ^ b = 59
~a = -23
a << 2 = 88
a >> 2 = 5
a >>> 2 = 5