Definition of suspend. 1  transitive verb. 2  1 : to debar temporarily especially from a privilege, office, or function suspend a student from school. 3  2a : to cause to stop temporarily suspend bus serviceb : to set aside or make temporarily inoperative suspend the rules. 4  3 : to defer to a later time on specified conditions suspend sentence.
The range of an int data type is -2,147,483,648 to 2,147,483,647. Smallint represents an integer value that can be stored in 2 bytes. 2^(n-1) is the formula to find the maximum of a Smallint data type. In the preceding formula N is the size of the data type. The ^ operator calculates the power of the value.
up vote 13 down vote. 1  By default use an int, when holding numbers. 2  If the range of int is too small, use a long. 3  If the range of long is too small, use BigInteger. 4  If you need to handle your numbers as object (for example when putting them into a Collection, handling null, ...) use Integer/Long instead.