@@ -0,0 +1,493 @@
+package sample.jcu.threadpool;%0A%0Aimport java.util.Timer;%0Aimport java.util.TimerTask;%0A%0A/**%0A * @author soyona%0A * @Package sample.jcu.threadpool%0A * @Desc:%0A * @date 2018/8/14 21:51%0A */%0Apublic class StudyTimer %7B%0A%0A    public static void main(String%5B%5D args) %7B%0A        Timer timer = new Timer();%0A        timer.schedule(new TimerTask()%7B%0A            @Override%0A            public void run() %7B%0A                System.out.println(%22..%22);%0A                System.gc();%0A            %7D%0A        %7D,1000);%0A%0A    %7D%0A%0A%7D%0A

add Timer and how to end :System.gc()