Home > Java > Operators > Introduction
Introduction to Operators
You have read about Java variables. Now it’s time to learn Java operators. Java provides a rich operator environment. Operators are used in expressions. Expressions are needed to perform computations. An expression consists of an operator and one or more operands. Operators specify the action to be performed, such as addition ( + ), subtraction ( - ) or multiplication ( * ). Operands are the data acted upon. Statements are separated by semicolons and consist of one or more expressions.
There are following types of operators:
- Assignment Operators
- Arithmetic Operators
- Relational Operators
- Logical Operators
- Conditional Operator
Leave a Reply
Fields with * are mandatory.
