package p; public interface A { } class B implements A { public final void method() { } }