Java Programming
Details
Download and unzip IA03.zip
Like we did in the labs, the goal of this assignment will be to take fully
concrete classes, and modify them to use either an interface or
abstract class
There are many TODOs for you to complete
Do NOT delete the TODO comments. I use them when grading, and will
deduct points if you delete them.
You can assume that the user enters valid menu choices
You can assume the user enters positive decimal values as the payments
Output before your changes
This is what you output will look like before your coding begins
You'll see farther below, that when you're done, the output will be a
little more descriptive with the error messages given to the user
Choose card
1) Visa
2) MasterCard
Enter choice: 1
Choose bank
1) PNC
2) Bank Of America
Enter choice: 1
Card Balance: 123.45
Bank Balance: 100.0
Enter amount to pay: 101
Error: -1
New Card Balance: 123.45
New Bank Bal
Download and unzip IA03.zip
Like we did in the labs, the goal of this assignment will be to take fully
concrete classes, and modify them to use either an interface or
abstract class
There are many TODOs for you to complete
Do NOT delete the TODO comments. I use them when grading, and will
deduct points if you delete them.
You can assume that the user enters valid menu choices
You can assume the user enters positive decimal values as the payments
Output before your changes
This is what you output will look like before your coding begins
You'll see farther below, that when you're done, the output will be a
little more descriptive with the error messages given to the user
Choose card
1) Visa
2) MasterCard
Enter choice: 1
Choose bank
1) PNC
2) Bank Of America
Enter choice: 1
Card Balance: 123.45
Bank Balance: 100.0
Enter amount to pay: 101
Error: -1
New Card Balance: 123.45
New Bank Bal