按照老师的输入,millis:1000提示错
for (int i = 0; i < 100; i++) { System.out.println(new Date()); try { Thread.sleep(1000); } catch (Exception e) { } }
把millis删了就行