Presentation is loading. Please wait.

Presentation is loading. Please wait.

Project Part 3 Putting the pieces together. Modifications on previous parts In part 1 you created a : BankAccount class, with several fields. Increment.

Similar presentations


Presentation on theme: "Project Part 3 Putting the pieces together. Modifications on previous parts In part 1 you created a : BankAccount class, with several fields. Increment."— Presentation transcript:

1 Project Part 3 Putting the pieces together

2 Modifications on previous parts In part 1 you created a : BankAccount class, with several fields. Increment the number of fields to include –A Password field to allow the access of the owner of the BankAccount –A secret-question field, in case you forgot your password –An answer (to the previous question) field You will need to modify the constructors accordingly, and create the corresponding getter and setter methods for them.

3 Modifications on previous parts In part 2 you : enhanced the BankAccount and create a Bank –Now you must add a field to the bank, which will hold the name of the bank –Modify the constructors to take care of this new field –Create the corresponding get and set methods for the new field. –Create another getAccount method, that gets an account given the accountholder’s name and password.

4 In this part 3 you are going to generate an Atm class Fields –ArrayList of Banks. Constructor –To create the empty ArrayList of Banks Methods –selectBank, which will return the bank in the ArrayList, corresponding to the name of the Bank that you supply. –selectAccount, which will return the Bankaccount on the previous bank when the method ask the user to enter the name for the accountholder, and the password, If the password is wrong, it can ask the accountholder to answer the secret question. If the answer is wrong, the program will terminate. Otherwise it will return the account. –menu, Once you have accessed your account, the method will show the different options that you have to perform operations with your account (deposit, debit or withdraw, transfer, etc,,)You must select one..

5 In this part 3 you are going to generate an Atm -II –After any of the previous operations is finished it should display information that confirms that the operation was performed correctly, and return to the menu method, to see if you want perform another operation. One of the option should be to return to another account in the same or different bank. –main method, it will create several banks (at least two) with several accounts each (at least 3). Then you should work with the accounts of the banks, performing some operations. Your grade will depend upon how well the program mimics an ATM machine, and the amount of operations you can perform with it, and how you use the previous parts of the project on it.

6 Submitting your work Save your project with the name Part3_netID, by exporting it, and upload it to Canvas


Download ppt "Project Part 3 Putting the pieces together. Modifications on previous parts In part 1 you created a : BankAccount class, with several fields. Increment."

Similar presentations


Ads by Google