2025-06-26 23:08:56
2025-06-26 10:45:39
import java.math.BigInteger;
public class HexNumberToInteger {
public static void main(String[] args) {
byte[] x = { 127, -1, -1, -1 };
byte[] y = { -128, 0, 0, 0 };
BigInteger xx = new BigInteger(x);
System.out.println("整数最大值:" + xx.intValue());
BigInteger yy = new BigInteger(y);
System.out.println("整数最小值:" + yy.intValue());
}
}
2025-06-26 00:14:24
2025-06-26 10:31:24
2025-06-26 08:33:10