Sarah●Sarah
2007年11月28日 星期三
Homework 11/16/2007: lab class definition 2
1.
先打出Display4.4
並且加入Display4.2的writeOutput,readInput
Display4.4demo
2.
加入 date.readInput();
3.
加入System.out.println(date.month);
出現錯誤!
因為month 先前定義為"private"
若將其改為public則OK!
沒有留言:
張貼留言
較新的文章
較舊的文章
首頁
訂閱:
張貼留言 (Atom)
Sarah●Sarah
載入中…
link
cycu
Java物件導向程式設計
網誌存檔
►
2008
(6)
►
1月
(6)
▼
2007
(34)
►
12月
(9)
▼
11月
(5)
Class Definition 3
Homework 11/16/2007: lab class definition 2
make up
class lab
1026homework
►
10月
(11)
►
9月
(9)
關於我自己
sarah
檢視我的完整簡介
沒有留言:
張貼留言