The inner class object cannot use the local variables of the method the inner class is in, Unless the local variables are marked final!