```
int x = 10;
int y = 10;

Integer x1 = new Integer(10);
Integer y1 = new Integer(10);

System.out.println(x == y);
System.out.println(x1 == y1);

```

The first sop will print true whereas the second one will print false. What is the actual problem ?