This document summarizes operators and expressions in Java. It discusses the four main categories of operators: arithmetic, bitwise, relational, and logical. For each category, it provides examples of the different operators and how they work. The key points covered include:
- Arithmetic operators like +, -, *, /, % for mathematical expressions on numeric types.
- Bitwise operators like &, |, ^ that operate on individual bits of integer types.
- Relational operators like ==, !=, <, > that determine relationships and return boolean values.
- Logical operators like &&, ||, ! that operate on boolean values and short-circuit evaluation.
It also discusses assignment operators