Also i think equals() method in these wrapper classes is using instance of operator to check the equality. since wrapper classes are peers i.e. none of them extend each other they will always give false for instance of test. Thus
now for
78 will be auto boxed into Integer class and wiil pass instance of test.since both is having 78 as its value will return true.