摘要: 类型转换 因为是强类型语言,所以有时候进行运算的时候需要用到类型转换 运算中不同类型数据要先转化为同一类型,然后再进行运算 byte short char int long float double 小数的优先级高于整数 强制类型转换:高到低,大取值范围到小取值范围 public class Dat 阅读全文
posted @ 2021-02-18 17:33 ytytytyt 阅读(54) 评论(0) 推荐(0)