單項(xiàng)選擇題

下面語(yǔ)句中強(qiáng)制類型轉(zhuǎn)換使用正確的是()

A.int a=(int)12.0;
B.int a=(float)12.0;
C.byte a=(long)12;
D.byte a=(char)128;

微信掃碼免費(fèi)搜題