...
Although Java throws a java.lang.ArithmeticException: / by zero exception for division by zero, the same issue as with C\C++ manifests, while dividing the Integer.MIN_VALUE
by -1. It
produces Integer.MIN_VALUE
unexpectedly (since the result is -(Integer.MIN_VALUE)=Integer.MAX_VALUE +1
)).
...