private static void objectCount(int i) { //version 1 } private static void objectCount(Integer i) { //version 2 }