问题 单项选择题

下列的( )赋值语句是正确的。

A.charA=12;

B.intA=12.0;

C.intA=12.of;

D.intA=(int)12.0:

答案

参考答案:D

填空题
单项选择题