Tutorials

Java Operators


Introduction to Operators


In java, operators are used for performing operation on constants and variables.

The constants and variables are known as operands

Operators and operands together form an expression.

The operators that require only one operands, which are called unary operators.

While the ones that require two operands are called binary operators.

 

In java, the operators can be classified into the followings types:

  • Arithmetic operators (+,-,*,/,%)
  • Relational operators(==,!=,<,>,<=,>=)
  • Logical operators (!, &&, ||)
  • Assignment operator (=)
  • Increment and Decrement operators (++, --)

We will be using any one or most of the operators during the programming.

Thus it becomes really necessary to understand the basic functionality of each one of them. So that we can apply them as per our need and convenience.

 

We will be learining about each one of the operators in upcoming chapters.

 



Please Share this page
Views : 227
Like every other website we use cookies. By using our site you acknowledge that you have read and understand our Cookie Policy, Privacy Policy, and our Terms of Service. Learn more Got it!