public class MainClass { public static void main(String[] argv) { MyClass[] classArray = new MyClass[3]; MyInterface[] interfaceArray = (MyInterface[]) classArray; } } interface MyInterface { public void aMethod(); } interface MySubInterface extends MyInterface { public void bMethod(); } class MyClass implements MySubInterface { public void aMethod() { } public void bMethod() { } }