Commit c7eb88b7 authored by updjx's avatar updjx

adding checks for invalid and valid negative Integers

parent edd01816
class checkMinimumIntegerInBrackets {
public static void main(String[] args) {
int a = -2147483648;
}
}
class checkMinimumIntegerInBrackets {
public static void main(String[] args) {
int a = -(2147483648);
}
}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment