当前学科:计算机科学与技术
  • 题目: 未知类型
    class Super{public float getNum(){return 3.0f;}} public class Sub extends Super{ //overload } which method, placed at overload, will cause a compiler error?

      A.public void getNum(double d){}

      B.public void getNum(){}

      C.public float getNum(){return 4.0f;}

      D.public double getNum(float d){return 4.0d;}

    答案: <查看本题扣1积分>

    查看答案

    答案不对?请尝试站内搜索