Answered step by step
Verified Expert Solution
Question
1 Approved Answer
This banking system is to be created for this assignment. The program will consist of five(5)classes: Mustang Banking (which will contain the main method), Account,
This banking system is to be created for this assignment. The program will consist of five(5)classes: Mustang Banking (which will contain the main method), Account, CheckingAccount, ccount and Balance. Both the CheckingAccount and SavingsAccount classes will inherit from class Account, and they will both have a data member of type Balance. Within method main, which is within class MustangBanking, create an ArrayListof type Account. You may call this ArrayList accounts. Within a loop, display the messages "Welcome to your Mustang Bank!" and "Please choose from the following options These options will be 1 Create a new Checking Account 2-Create a new Savings Account 3 Delete an existing account 4 -View a specific account 5 View all accounts 6-Write a check through a specific Checking Account 7-Withdraw funds from a specific account 8 Deposit funds into an account 9-Exit Program Please enter your option below: For option 1, call the method xCreateChecking, sending accounts. Upon returning, print out a statement that the Checking Account has been created. For option 2, call the method xCreteSavings, sending accounts. Upon returning, print out a statement that the Savings Account has been created. For option 3, call the method xDeleteAccount, sending accounts. For option 4, call the method xViewSpecific, sending accounts. For option 5, call the method xViewAll, sending accounts. For option 6, call the method xWriteCheck, sending accounts. For option 7, call the method xWithdraw, sending accounts. For option 8, call the method xDeposit, sending accounts. option 9 should have the loop end and the program exit. Classes: The Account class will consist of ild (integer) dInterest Rate (double) bBalance (Balance)-Balance is a separate class With methods: Constructor Account, which takes in the Id, Interest Rate and Balance amounts
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started