优美睫毛

文章
8
资源
0
加入时间
3年1月11天

Byte.toUnsignedInt() +与运算 原码,反码,补码事由

这里写自定义目录标题事由运行结果如下& 与运算**==如何在二进制中表示复数?==**原码,反码,补码一颗大栗子over!!!事由周五有点无聊没事看书看到了这个注意,然后就想着动手实现一下。Byte.toUnsignedInt(c);int a = Byte.toUnsignedInt((byte) -1);int b = Byte.toUnsignedInt((byte) -2);int h = Byte.toUnsignedInt((byte) 1);System.out.