摘要: 由于Java是强类型语言 所以要进行有些运算的时候 需要用到类型转换 低 >高 byte short char->int-> long-> float → double 运算中,不同类型的数据先转化为同一类型,然后进行运算。!public class DEMO04 { public static v 阅读全文
posted @ 2022-01-08 16:09 踏雪寻梅来 阅读(34) 评论(0) 推荐(0)