Timer和TimerTask的简单使用 ######Timer就是一个定时器,TimerTask就是定时器需要完成的任务 https://www.cnblogs.com/xiaotaoqi/p/6874713.html 这个介绍的很好