public class Problem {
public static void main(String args[]){
Integer a=200;
Integer b=200;
Integer c=20;
Integer d=20;
System.out.println(a==b);
System.out.println(a.equals(b));
System.out.println(c==d);
System.out.println(c.equals(d));
}
}
output
false
true
true
true