The tasks within the java timer belong to anonymous inner classes. When an anonymous inner class calls an external variable, it must specify that the variable is final. This is mainly placed when you call this variable, this variable is called and modified by other parts.
The tasks within the java timer belong to anonymous inner classes. When an anonymous inner class calls an external variable, it must specify that the variable is final. This is mainly placed when you call this variable, this variable is called and modified by other parts.