单项选择题

Java 中强制类型转换正确的是()。

A.int num =(int)"hello java";
B.int num =(float)0.1;
C.int num =(int)1.1;
D.以上都不对

微信扫码免费搜题