看板 [ java ]
討論串[問題] 我的hello world 跑不出來
共 3 篇文章
首頁
上一頁
1
下一頁
尾頁

推噓1(1推 0噓 2→)留言3則,0人參與, 最新作者mar3 (小馬)時間14年前 (2010/06/11 11:45), 編輯資訊
1
0
1
內容預覽:
public class 001{. public static void main(String[ ] args){. System.out.println("Hello world~");. }. }. ----------------------------------------------
(還有1039個字)

推噓1(1推 0噓 2→)留言3則,0人參與, 最新作者mar3 (小馬)時間14年前 (2010/06/11 21:08), 編輯資訊
1
0
1
內容預覽:
想問大大上面這行. 把 args 和 [ ] 互換位置變成 (String args[ ]). 請問這兩行有什麼不同 (雖然說都可以跑沒問題). 爬文找不到(應該是很基礎的東西 所以沒人問吧^^"). 抱歉看書自學 看到書上打的不一樣 也找不到答案. --. 一聲清嘯,兩指一合捏個劍訣,右手長劍出鞘
(還有188個字)

推噓0(0推 0噓 2→)留言2則,0人參與, 最新作者nand (反及閘萬用閘)時間14年前 (2010/06/11 23:00), 編輯資訊
0
0
1
內容預覽:
http://java.sun.com/docs/books/jls/third_edition/html/arrays.html#10.2. The [] may appear as part of the type at the beginning of the declaration,. or
(還有108個字)
首頁
上一頁
1
下一頁
尾頁