Byte有个方法
public int intValue() {
return (int)value;
}
Byte a = new Byte(1);
int b = a.intValue; //将Byte转为int
new Integer(1).byteValue() //将int转为byte
Byte有个方法
public int intValue() {
return (int)value;
}
Byte a = new Byte(1);
int b = a.intValue; //将Byte转为int
new Integer(1).byteValue() //将int转为byte