【单选题】将下列哪个代码(A,B,C,D)放入程序中标注的【代码】处将导致编译错误?class A { public float getNum() {return 3.0f;} } public class B extends A { 【代码】} A: public float getNum(){return 4.0f;} B: public void getNum(){ } C: public void getNum(double d){ } D: public double getNum(float d){return 4.0d;}