摘要: 一、整型变量的使用 byte short int long java中表示整数,主要区别在于占用内存空间不同 【byte】(字节) 1字节 = 8bit 位 -128~127 【short】 2字节 -2^15 ~ 2^15-1 【int 】 4字节 -2^31~ 2^31-1 【long 】 8字 阅读全文
posted @ 2022-11-20 16:46 不会秃头的喜羊羊 阅读(62) 评论(0) 推荐(0)