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?
5 則留言:
9224205 工業三乙 江昇祐
電子二甲 9326146 黃鈞蔚完成了真爽!!
陳雅菁9325116醫工二甲
電子三丙 9226307 高志遠
張貼留言