interface I { void bar(); } class Test implements I{ void foo() { bar(); } public void bar(){ baz(); } void baz(){} }