下面程序段的输出结果为()。public class MethLoad {public static void main(String args[]{MethLoad classObj=new MethLoad();classObj.methTest(4);classObj.methTest(4.0);}void methTest(double d){double sum=2*d};}
A.The result is:16 The result is:8.0
B.The result is:8.0 The result is:16
C.The result is:8 The result is:16.0
D.The result is:16.0 The result is:8
答案不对?请尝试站内搜索