CS 206: Data Structures
Exercise#5
Due on Thursday, February 13
Write a Java applet that uses the Name class defined in Chapter 1 of your text (or the version from class notes of February 6) and the BankAccount class (from class notes of February 11) to create a simple bank account management system (a database). Your applet will input the first and last names of 10 people, and an opening balance and create new accounts. The applet then permits the user to perform the following functions: print a listing of all accounts, given an account number perform a balance inquiry, make a deposit, and withdraw money. An example applet is shown below:
The applet above is missing some functionalities at the moment (withdraw). All transactions are logged in the text area in the applet.