Integer.MIN_VALUE = -2147483648 Integer.MAX_VALUE = 2147483647 hence the abs of min-value is out of the range of the int primitive, ansd since they run about in a circle, the o/p goes rigth to the lowest value after crossing the highest one. i.e we effectively get Integer.MIN_VALUE BACK !
hi, Answewr is : -2147483648 abs() returns absolute value of the given argument. but hear min. value for Integer wrapper exceeds. it is a cyclic process so that only u got above answer. ------------------ R.Balu