• 2022-05-30
    } [br][/br]在第5行加入下列哪行代码后会导致程序编译错误
    A: public float getNum(){return 4.0f;}
    B: public void getNum(){}
    C: public void getNum(double
    D: {}

    public double getNum(float d){return 4.0d;}
  • 举一反三