I have added three methods with parameters:
public static void doSomething(Object obj) { System.out.println(\"Object called\"); } public static void d
null is a valid value for any of the three types; so the compiler cannot decide which function to use. Use something like doSomething((Object)null) or doSomething((Integer)null) instead.
null
doSomething((Object)null)
doSomething((Integer)null)