看怎么用,Thread th = new Thread(){ public void run(){ System.out.println(new java.util.Date()); try{ Thread.sleep(1000); }catch(Exception ex){ } }};th.start();很简单就有线程了。