Object x1 = TestType.findLarger(123, "456"); // #1
Line #1 will compile but it throws classcast exception becuase integer can not be compared with
string //int x2 = TestType.findLarger(123, new Double(456)); // #2
Line #2 does not compile because Dobule can't fint into int
int x3 = TestType.findLarger(123, new Integer(456)); // #3
Line #3 will compile and run with output 456 if you print it as s.o.p(x3)