现有如下代码:请问以下哪个语句放置在注释的空白处会引起编译错误?() A: publicfloatgetNum(){return4.0f;} B: publicvoidgetNum(){} C: publicvoidgetNum(doubled){} D: publicdoublegetNum(floatd){return4.0;}
现有如下代码:请问以下哪个语句放置在注释的空白处会引起编译错误?() A: publicfloatgetNum(){return4.0f;} B: publicvoidgetNum(){} C: publicvoidgetNum(doubled){} D: publicdoublegetNum(floatd){return4.0;}
1