    class BitwiseAnd 
      { 
      public static void main (String args[]) 
        {
        int i;

        i = 0x0104;

        if ((i & 0x0004) != 0)
          {
          System.out.println ("Bit 3 is turned on");
          }
        if ((i & 0x0100) != 0)
          {
          System.out.println ("Bit 9 is turned on");
          }

        System.out.println ("This forces " + i + " to the odd number: "
          + (i | 1));
        } 
      } 

