public class Test { public static String invokeMethodWithOverloads() { C c = new C(); return c.foo(); } }