21.1 Bits and Bytes21.1.1 The Bit Operators: Complement, AND, OR, and XOR21.1.2 Representation of Integers in Java: Two’s Complement21.1.3 The Binary, Octal, and Hexadecimal Place Value Systems21.1.4 Effect of Typecasting on Bit Patterns21.1.5 Working without Signs21.1.6 The Shift Operators21.1.7 Setting, Clearing, Reversing, and Testing a Bit21.1.8 Bit Methods of the Integer and Long Classes