作者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)