Tuesday, November 22, 2011

Lab 12 - Account.java, TestAccount.java

As one of the requirements to earn an A- or higher in this class, you must complete exercise 7.3 (6th ed, p256; 7th ed, p260) / 8.7 (8th ed, p297).

The primary class name must be Account, the driver class must be TestAccount, and it must execute as a command line application.

I strongly recommend that ALL students attempt this programming exercise, even if their test grades are not sufficient to earn an A for the semester. Mastery of this programming assignment will help you to perform well on your final exam.

Sample Output
Here are screenshots of my code running.

Test Account output

Test Account output
Attempted overdraft

Test Account output
Attempt to add negative cash

Refer to the deliverables post for comment formatting and required program identification information.

Due Date:
Monday, December 5th, 8:00am