Tennessee Gibbs cb17215d93 TG updated 4 | 6 yıl önce | |
---|---|---|
.gitignore | 6 yıl önce | |
Account.java | 6 yıl önce | |
AccountException.java | 6 yıl önce | |
AccountTest.java | 6 yıl önce | |
Calendar.java | 6 yıl önce | |
Calendar1.java | 6 yıl önce | |
CalendarGraphic.java | 6 yıl önce | |
Date.java | 6 yıl önce | |
DateException.java | 6 yıl önce | |
DepositAccount.java | 6 yıl önce | |
README.TXT | 6 yıl önce | |
README.md | 6 yıl önce | |
Scrabble.java | 6 yıl önce | |
ScrabbleTest.java | 6 yıl önce | |
Squares.java | 6 yıl önce | |
SquaresTest.java | 6 yıl önce | |
TextIO.java | 6 yıl önce | |
TriangleOne.java | 6 yıl önce | |
TriangleTwo.java | 6 yıl önce | |
TriangleTwoTest.java | 6 yıl önce | |
Willy | 6 yıl önce | |
package.bluej | 6 yıl önce |
Java has been around a long time, and this code proves that point.
Take a look at each class, see how they are linked. They are not all linked together, but each class has something useful for you find.
Take a look at how a case statement is used instead of a whole lot of IF statements. Kind of cool, huh?
Dig around and look at how loops are used, even a nested loop or three. Play around with different parametera to the functions. Run a few.
Look at how the logic allows for various calendar operations. Much of this you can rely on the Java standard library to use, but the ideas here are good to look at and try to follow.
Run CalendarGraphic, and step through the code used to create the simple window. It uses Java's older AWT library, but does show a little bit of how to display in a window.
Notice how we create an Account object and subclass it in DepositAccount. What does the exception do? why does this seem like a good idea?
Read through this class, carefully. See how the developer is trying to simplify Java IO? Do what you find there.
Write tests for many of these classes (leave OUT TextIO). The more you do, the more points you get.