之間有什麼區別 -睡一個線程靜態與使用它的實例
Thread workerThread = new Thread(runnable);
workerThread.start();
workerThread.sleep(5000);
.....
而且
Thread workerThread = new Thread(runnable);
workerThread.start();
Thread.sleep(5000);
難道他們都可能會導致工人線程暫停睡眠?
感謝
[可以使用對象實例訪問Java中的靜態方法](http://stackoverflow.com/questions/4978000/static-method-in-java-can-be-accessed-using-object-instance ) – nawfal 2013-12-16 10:32:54