Perbandingan Deux Entiers Java

public class SimpleTesting{ 
    public static void main(String[] args) {
        int a = 18;
        int b = 18;
        if(a==b) {
            System.out.println("Both are equal");
        }else System.out.println("Not equal");
    }
}
Attractive Ant