Java Operators List

In java, we have operators just like any other programming language. Operators are just another crucial thing to do some basics, let it be arithmetic or logical, and you name it. In java, there are some types of operators used for a specific purpose.

Java Operator List

  1. Unary Operator (expr++, expr--, ++expr, --expr, -expr, ~, !, +expr)
  2. Arithmetic Operators ( +, -, *, /, %)
  3. Relational Operators (>, <, >=, <=, instanceof, ==, !=)
  4. Shift Operator (<<, >>, >>>)
  5. Logical Operators (&&, ||)
  6. Bitwise Operators ( &, |, ^)
  7. Assignment Operators ( =, +=, -=, *=, /=, %=, ^=, <<=, >>=, >>>=,|= )
  8. Ternary Operator ( ?, : )
Thu, 10/07/2021 - 14:17

Authored by

Ashwin is working with iVagus as a Technical Lead. He has experience in various technologies like Cypress, JavaScript, TypeScript, Rest Assured, Selenium, Cucumber, and Java.
Tags