1、int i = aByte.intValue();将一个Byte类型返回为int类型
2、byte b = Byte.parseByte("3");Byte的静态方法,将字符串数字转化为byte
3、String s = aByte.toString();将Byte转化为string类型的数
4、Byte aByte = Byte.valueOf("5");Byte aByte1 = Byte.valueOf((byte) 3);这两种转换试讲字符串数字和byte类型转换为Byte
5、Byte也提供了几个常量:byte maxValue = Byte.MAX_VALUE;//byte可取的最大值byte minValue = Byte.MIN_VALUE;//byte可取的最小值Class<Byte> type = Byte.TYPE; //byte的Class类型int size = Byte.SIZE; //byte以二进制补码的位数