Study Display 4.2 & Display 4.4 (2nd ed.) or Display 4.2 & Display 4.3 (1st ed.) and then
1. comment out date.setDate(6, 17, year); by // date.setDate(6, 17, year);
2. At the next line below, add date.readInput();
3. Run the program again. Fix any problems you may encouter along the way.
4. At the last line of your program, add System.out.println(date.month);
and see what happens. Why?
9224205 工業三乙 江昇祐
回覆刪除電子二甲 9326146 黃鈞蔚完成了真爽!!
回覆刪除網誌管理員已經移除這則留言。
回覆刪除陳雅菁9325116醫工二甲
回覆刪除電子三丙 9226307 高志遠
回覆刪除