In java, int's cannot be null. It is possible to use Integer instead of int, but that makes it more confusing than anything else.