Engineering Full Stack Apps with Java and JavaScript
Find the result:
public class NullOverloadCheck { static void myMethod(Object o) { System.out.println("Object"); } static void myMethod(Integer i){ System.out.println("Integer"); } public static void main(String[] args) { myMethod(null); } }