Re: [問題] 檢查保留字的程式

看板java作者 (godfat 真常)時間18年前 (2006/04/05 16:55), 編輯推噓0(000)
留言0則, 0人參與, 最新討論串6/17 (看更多)
※ 引述《slayer.bbs@bbs.wretch.cc (foolish)》之銘言: : 這是什麼鬼, 為什麼有二個同樣名字的class : 這不是java啊... 哪裡有一樣的名字? 一個是 test, 一個是 text : > class text(){ 這邊多括號吧… C++ 也不能這樣寫的 btw, 有時候我也會把 test 跟 text 搞混 結論是以後不要同時使用這兩個名字… 有一定的機率不會通過檢定 :Q edited: 剛剛仔細看了一下,還有 c'tor 不能是 static 吧? static 初始化應該寫成 static{ } -- Nobody can take anything away from him. Nor can anyone give anything to him. What came from the sea, has returned to the sea. Chrono Cross -- ※ 發信站: 批踢踢實業坊(ptt.cc) ◆ From: 220.132.128.238 ※ 編輯: godfat 來自: 220.132.128.238 (04/05 16:58)
文章代碼(AID): #14CuNd7M (java)
討論串 (同標題文章)
本文引述了以下文章的的內容:
以下文章回應了本文 (最舊先):
完整討論串 (本文為第 6 之 17 篇):
文章代碼(AID): #14CuNd7M (java)