public class Overloaded { public Overloaded(int i) { System.out.println(i); } public void oloader() { System.out.println(1); } public void oloader(int v) { System.out.println(10); } public void oloader(int v, int w) { System.out.println(100); } public static void main(String[] args) { Overloaded oo = new Overloaded(0); oo.oloader(100000); (new Overloaded(2)).oloader(); }}