byte 和 char 一样吗? 怎么会一样,大小就不一样char是16位的,范围是unicode 0 ~ unicode 2的16次方减1byte是8位的,范围是-127 ~ 128 解决方案 » 免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货 不一样:主类型 大小 最小值 最大值 封装器类型boolean 1-bit – – Booleanchar 16-bit Unicode Unicode Characterbyte 8-bit -128 +127 Byteshort 16-bit -215 +215 – 1 Short1int 32-bit -231 +231 – 1 Integerlong 64-bit -263 +263 – 1 Longfloat 32-bit IEEE754 IEEE754 Floatdouble 64-bit IEEE754 IEEE754 Doublevoid – – – Void 求一个swing分页组件 关于java正则的问题 EOF在windows环境下是ctrl + z 还是ctrl + c 如果一个矿泉水价格为1.10元,我只有2元,下面代码是否正确 请教IT摸爬滚打多年的大虾 关于系统的类提供的native方法的问题 构造函数 前 的protected 有什么用? 关于Java播放WAV。 Eclispe 3.0.1的Visual Editor的问题.在线等待. 请问log函数是那个类下的? 这段代码错在哪里,new 了一下也不行,在线等待 请教关于System.out.println("HelloWorld");的问题??谢谢
boolean 1-bit – – Boolean
char 16-bit Unicode Unicode Character
byte 8-bit -128 +127 Byte
short 16-bit -215 +215 – 1 Short1
int 32-bit -231 +231 – 1 Integer
long 64-bit -263 +263 – 1 Long
float 32-bit IEEE754 IEEE754 Float
double 64-bit IEEE754 IEEE754 Double
void – – – Void