找考题网-背景图
单项选择题

现有如下代码:请问以下哪个语句放置在注释的空白处会引起编译错误?()

A.public float getNum(){return 4.0f;}
B.public void getNum(){}
C.public void getNum(double d){}
D.public double getNum(floatd){return 4.0;}

热门试题