Java Operators
Types of operators :
1. Arithmetic Operators :

2. Comparison Operators :

3.Logical Operators

4. Bitwise Operators

Precedence of operators
The operators are applied and evaluated based on precedence. For example, (+, -) has less precedence compared to (*, /). Hence * and / are evaluated first. In case we like to change this order, we use parenthesis ().
Example
package com.company;
public class CWH_Ch2_Operators {
public static void main(String[] args) {
// 1. Arithmetic Operators
int a = 4;
int b = 6 % a; // Modulo Operator
// 4.8%1.1 --> Returns Decimal Remainder
// 2. Assignment Operators
int b = 9;
b *= 3;
System.out.println(b);
// 3. Comparison Operators
System.out.println(64<6);
// 4. Logical Operators
System.out.println(64>5 && 64>98);
System.out.println(64>5 || 64>98);
// 5. Bitwise Operators
System.out.println(2&3);
// 10
// 11
// ----
// 10
}
}