For example, if a thrown exception object has class IllegalArgumentException, that indicates someone passed an illegal argument to a method. Sometimes you will want to indicate that a method encountered an abnormal condition that isn't represented by a class in the Throwable family of java.lang.
Actually, zero is neither a negative or a positive number. The whole idea of positive and negative is defined in terms of zero. Negative numbers are numbers that are smaller than zero, and positive numbers are numbers that are bigger than zero. Since zero isn't bigger or smaller than itself (just like you're not older than yourself, or taller than yourself), zero is neither positive nor negative.
Confidence votes 242. Whole numbers less than zero A negative integer is a negative whole number that is the opposite of a counting number. When we count, we start at 1 and count 1, 2, 3, etc. Negative integers are the opposite of those numbers: -1, -2, -3, and so on. Further explanation An integer is a whole number..