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 +, -, *, /, % that perform math operations.
- Bitwise operators like &, |, ^ that operate on individual bits.
- Relational operators like ==, !=, <, > that compare values and return a boolean.
- Logical operators like &&, ||, ! that combine boolean expressions.
- Assignment operators like = that store values in variables.
- Special operators