インターフェイスと抽象クラスがあります。
interface MyInterface {int presents();};
public abstract class MyAbstractClass implements MyInterface {
abstract void presents();
abstract void chill();
}
コンパイラは、
abstract void presents();
戻り型は互換性がありません
MyInterface.presents()
次のオプションを提供します。
make it int type
make MyInterface.presents void type
なぜこうなった?