作者Tiberius (小败踢)
看板java
标题Re: [问题]请问如何做到"三秒後显示效果"
时间Sat Sep 9 14:04:14 2006
※ 引述《[email protected] (Pao)》之铭言:
: public class Test
: {
: public static void main(String[] args) throws InterruptedException
: {
: System.out.println("Loading...");
System.out.flush();
: Thread.sleep(3000);
: System.out.println("Done.");
: }
: }
---
不知道 BBS 贴 colored unified diff 有没有搞头 ... (殴
--
※ 发信站: 批踢踢实业坊(ptt.cc)
◆ From: 59.126.44.151
※ 编辑: Tiberius 来自: 59.126.44.151 (09/09 14:05)