为什么Math.abs(-2147483648)还是等于-2147483648?如何把他转化成正数?谢谢
int类型的上限了,你要转换成 更大的类型,long
乘一个–1
基本数据类型取值范围https://www.cnblogs.com/lbhym/p/11122716.html