package aPackage; import java.io.IOException; public class AClassTwo implements AnInterface { public void methodA(int myInt) throws IOException{ //some code here } }