摘要: 1.1基本类型只有八个: 整型- byte short int long 浮点型- float double 字符型- char 布尔型- boolean 1.2其中数字常量会被默认为int类型;byte,short和char类型的变量在赋值的时候若等号右边未超过范围则会自动进行强制类型转化 例:c 阅读全文
posted @ 2020-02-05 12:36 SunSky... 阅读(338) 评论(0) 推荐(0) 编辑