十六进制转byte变负数 public static void main(String[] args) { byte test = -128; System.out.println(test==(byte)0x80); }