JDK5.0 新機能:一ミリ秒未満のスリープ
「10.5. 一ミリ秒未満のスリープ」
public class C2008092300 { public static void main(String[] args) { System.out.println("start"); try { Thread.sleep(1000); } catch(java.lang.InterruptedException e) { } } }
で、
start
何が新しいの?
「10.5. 一ミリ秒未満のスリープ」
public class C2008092300 { public static void main(String[] args) { System.out.println("start"); try { Thread.sleep(1000); } catch(java.lang.InterruptedException e) { } } }
で、
start
何が新しいの?