// Demonstrate the basic arithmetic operators. |
Modulus.java
// Demonstrate the % operator |
OpEquals.java
// Demonstrate several assignment operators. |
IncDec.java
// Demonstrate ++ |
BitLogic.java
// Demonstrate the bitwise logical operators. |
ByteShift.java
// Left shifting a byte value. |
MultByTwo.java
// Left shifting as a quick way to multiply by 2. |
HexByte.java
// Masking sign extension. |
ByteUShift.java
// Unsigned shifting a byte value. |
OpBitEquals.java
package Chapter4; public class OpBitEquals { |
BoolLogic.java
// Demonstrate the boolean logical operators. public class BoolLogic { |
Ternary.java
// Demonstrate ?. |