摘要: 将较长的数据类型转换成较短的数据类型,只能用强制类型转换。形如: short s; Byte b = (byte)s; 7种类型的顺序排列如下: byte < (short = char) < int < long < float < double 其中,short和char之间也必须强制转换。 这 阅读全文
posted @ 2021-02-20 19:58 GrayGooStorm 阅读(648) 评论(0) 推荐(0)