类型转换
-
+是一个运算符,我们应该能够看懂,做数据的加法
-
boolean类型不能转换为其它的数据类型
-
默认转换
-
byte,short,char-int-long-float-double
-
byte,short,char相互之间不能转换,它们参与运算首先转换为int类型
-
-
强制转换
-
目标类型 变量名=(目标类型)(被转换的数据);
-
2147
227

被折叠的 条评论
为什么被折叠?
