public class BoxDemo {
public static void main(String[] args) {
Boolean i1 =
false;
Boolean i2 =
false;
System.
out.println(i1 == i2);
Integer a = Integer.valueOf(
1);
Integer b =
1;
System.
out.println(a == b);
Integer d =
new Integer(
2);
Integer c =
2;
System.
out.println(c == d);
Integer e =
3;
Integer f =
3;
System.
out.println(e == f);
}
}