/* This is just an arbitrary interface, to test at runtime whether a given class implements this interface or not. */ public interface MyInterface { public void print(String text); public void println(String text); public void println(); }