interface IFace { } public class Main implements IFace { @Override return "--" + arg; } }
Standard input is empty
Main.java:5: error: Main is not abstract and does not override abstract method f(String) in IFace public class Main implements IFace { ^ Main.java:6: error: method does not override or implement a method from a supertype @Override ^ 2 errors
Standard output is empty