abs abstract method
override
Returns the absolute value of this integer.
For any integervalue,the result is the same asvalue < 0 ? -value : value.
Integer overflow may cause the result of-value to stay negative.
Implementation
int abs();Returns the absolute value of this integer.
For any integervalue,the result is the same asvalue < 0 ? -value : value.
Integer overflow may cause the result of-value to stay negative.
int abs();