• 2022-06-30
    选项中哪一行代码可以替换题目中//add code here而不产生编译错误?()
    A: public abstract void method(int a);
    B: constInt = constInt + 5;
    C: public int method();
    D: public abstract void anotherMethod() {}