2007年11月29日 星期四

Lab Class Definition 3

Do Display 4.7 (3rd, 2nd ed.) or 4.5 (1st ed.). Then use Display 4.8 to call 4.7.

Question
The method setDate has the parameter as setDate(int month, int day, int year).
What kind of changes should be made in its body of codes?

課本的範例




接下來則是練習上課的this

沒有留言: