• 2022-06-19
    下列选项中,( )代码替换源文件Com.java中的【代码】不会导致编译错误。public interface com{int M=200;int f();}class ImpCom implements Com{【代码】}
    A: public int f( ){return 100+M;}
    B: int f( ){return 100;}
    C: public double f( ){return 2.6;}
    D: public abstract int f( );