Witscale Test Center

9.3 Unary operators


9.3 Unary operators

The unary operators operate on only one operand. Table 9.1 shows the seven Java unary operators  +, -, ++, --, ~, ! and ().