public class MyClass implements MyInterface { public void doIt() { } } abstract class Abstract1 extends MyClass { } abstract class Abstract2 extends MyClass { public void doIt(int x) { } } class Phone3 extends MyClass implements MyInterface { public void doStuff() { } } interface MyInterface { public void doIt(); }