首页
mac
it
登录
6mi
u
盘
搜
搜 索
it
强制类型转换
强制类型转换
mac
2022-06-30
92
int b=(int)10.2;//双精度强制转换整型强制类型转换 double a=10;//双精度类型 int c=(int)a;// int before=20; double rise=9.8; double now=before+(int)rise; System.out.print(now);
转载于:https://www.cnblogs.com/quyan/p/9706337.html
转载请注明原文地址: https://mac.8miu.com/read-25667.html
最新回复
(
0
)