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.
Any number in this set (...-4, -3, -2, -1) is a negative integer. Similar to positive integers, numbers such as -3.5 and -10 are not integers because they are not whole. Zero. Another way to look at integers is to say that an integer must be even or odd. Using this logic, zero is an integer, as it is an even whole number. Zero is not classified as a positive or negative number or integer. Algebra Word Problems. In algebra, you may be asked to solve an equation by providing the missing integer.