Re: [問題]請問如何做到"三秒後顯示效果"
※ 引述《pao.bbs@bbs.nkfust.edu.tw (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)
討論串 (同標題文章)
本文引述了以下文章的的內容:
完整討論串 (本文為第 7 之 7 篇):