try { Thread.sleep(1000); } catch (InterruptedException e) { e.printStackTrace(); }
不同于C#,JAVA里的Thread.sleep方法一定有异常