单项选择题

A.public float getNum(){retun4.0f;}
B.public void getNum(){}
C.public void getNum(doubleD{}
D.public double getNum(floatD{retun4.0f;}