Java - Operator
Operator tutorial
HOME
Java
Operator
Introduction
The tutorial for Operator are organized in the following chapters.
Operator
Java Operators
Assignment Operator =
Declaration, Initialization, and Assignment
Java Arithmetic Operators
Arithmetic Operators
Topic:3
Addition Operator +
Subtraction Operator -
Multiplication Operator *
Division Operator /
Modulus Operator %
Topic:5
Unary Plus Operator +
Unary Minus Operator -
Compound Arithmetic Assignment Operators
Increment (++) and Decrement (--) Operators
Quiz:1 Topic:2
String Operator
String Concatenation Operator +
Quiz:2 Topic:2
Java Relational Operators
Relational Operators
Equality Operator ==
Quiz:1 Topic:3
Inequality Operator !=
Greater Than Operator >
Topic:5
Greater Than or Equal to Operator >=
Less Than Operator <
Less Than or Equal to Operator <=
Java Logical Operators
Boolean Logical Operators
Logical NOT Operator !
Logical Short-Circuit AND Operator &&
Quiz:2
Logical AND Operator &
Exercise:4
Logical Short-Circuit OR Operator ||
Logical OR Operator |
Exercise:7
Logical XOR Operator ^
Compound Boolean Logical Assignment Operators
Bitwise Operators
Bitwise Operators
Bitwise AND operator &
Bitwise OR Operator |
Bitwise XOR Operator ^
Bitwise NOT Operator ~
Bitwise left shift operator <<
Quiz:1
Bitwise signed right shift operator >>
Unsigned right shift operator >>>
Exercise:2
Conditional Operator
Ternary Operator ?:
Exercise:13 Topic:2
Operator Precedence
Operator Precedence