看板 [ java ]
討論串[問題] The problem of Return...
共 2 篇文章
首頁
上一頁
1
下一頁
尾頁

推噓5(5推 0噓 2→)留言7則,0人參與, 最新作者PsMonkey (痞子軍團團長)時間18年前 (2007/10/15 07:39), 編輯資訊
0
0
3
內容預覽:
好恐怖的程式碼排版跟中文語法. ^^^^. 你要 setQuantityOnOrder() 這個函數(method)沒有回傳值. 但是下頭又要他 return 值.... 如果你只是要這個函數(method)運行到某個地方就到此為止. 然後跳離開這個函數(method). 那即使是 void 的函數
(還有187個字)

推噓0(0推 0噓 0→)留言0則,0人參與, 最新作者argon007 (花枝握壽司,讚不絕口!)時間18年前 (2007/10/15 06:22), 編輯資訊
0
0
1
內容預覽:
以下是代碼:. public class Book. {. /*Omitted*/. private int QuantityOnOrder; /*It describes the quantity on the. order*/. /*Omitted*/. public void setQuant
(還有516個字)
首頁
上一頁
1
下一頁
尾頁