public class Parent { } class Child extends Parent implements MyInterface{} interface MyInterface{}