摘要: 八大基本数据类型 整数 int 最常用,占4个字节 byte 占1个字节 short 占2个字节 long 占8个字节 浮点数 float 占4个字节 double 占8个字节 少使用浮点数做比较 例: float f = 0.1f; double d =1/10; System.out.print 阅读全文
posted @ 2021-02-22 14:14 Bry5e 阅读(223) 评论(0) 推荐(0)