看板 [ java ]
討論串[問題] 無法輸入指令
共 2 篇文章
首頁
上一頁
1
下一頁
尾頁

推噓2(2推 0噓 2→)留言4則,0人參與, 最新作者ogamenewbie (._.)時間17年前 (2008/10/30 23:36), 編輯資訊
0
0
1
內容預覽:
(中略). 因為很簡單, args 是在 command line 就要傳入的東西... 你要的輸入步驟是要透過 System.in 去取得的,. 比較簡單的方式可以考慮用 Scanner. Scanner s = new Scanner(System.in);. while (s.hasNext(

推噓0(0推 0噓 0→)留言0則,0人參與, 最新作者lawgg (ZZZ)時間17年前 (2008/10/30 23:19), 編輯資訊
0
0
0
內容預覽:
我是個初學者,所以如果問題太白痴請多見諒.... 下列這個程式. public class i. {. public static void main(String args[]). {. if(args.length!=3). System.out.println("zzz");. else. {
(還有338個字)
首頁
上一頁
1
下一頁
尾頁