Java provides a rich set of operators. Operators combine constants, variables and sub-expressions
to form expressions. Most of the operators in Java behave like C/C++ but there are few
differences, which are covered here.
Java operators can be classified as:
to form expressions. Most of the operators in Java behave like C/C++ but there are few
differences, which are covered here.
Java operators can be classified as:
- Arithmetic Operators
- Increment and Decrement Operators
- Relational Operators (Comparison Operators to be more precise)
- Boolean Logical Operators
- Conditional Operators (or Short-Circuit Logical Operators)
- Ternary Conditional Operator
- Assignment Operator
- Bitwise Operators
- Shift Operators
No comments:
Post a Comment