Operator is
a symbol that is used to perform operations.
Types of operators in java
- Arithmetic operators
- Relation operators
- Logical operators
- Bitwise operators
- Assignment operators
- Ternary operator
- Unary Operator
Arithmetic operators are used in mathematical expression.
Relation operators
Logical operators
Assignment Operators
Ternary operator
It is also known as Conditional
operator and used to evaluate Boolean expression.
epr1 ?
expr2 : expr3
If epr1Condition is true? Then value expr2 : Otherwise value expr3
Unary Operators
No comments:
Post a Comment