... bits is set to 0 or to 1: (bits & (1 << 6)) != 0 If the bit at index 6 is 0, this expression evaluates to false; if the bit at index 6 is 1, this expression evaluates to true. This is ... 204 | 24 has the value 220 (204 is 11001100, 24 is 00011000, and 220 is 11011100). The & operator performs a bitwise AND operation. AND is similar to the bitwise OR operator, except that ... 204 & 20 is 8 (204 is 11001100, 24 is 00011000, and 8 is 00001000). The ^ operator performs a bitwise XOR (exclusive or) operation, returning a 1 in each bit where there is a 1 in one...