Answered step by step
Verified Expert Solution
Question
1 Approved Answer
Part one. Create a class called a BankSystem. Then, create the following instance variables, account_No, customer_Name, balance. create a method called openAccount has a no
Part one.
Create a class called a BankSystem. Then, create the following instance variables, account_No, customer_Name, balance. create a method
called openAccount has a no return type(void) that ask the user to enter enter a positive account number , name
and balance. Then,create a method called AccountInfo to display the account details.
Part two
1- create a method called depositMoney that ask the user to enter the amount to deposite.
2- create a method called withdrawMoney that ask the user to enter the amount to withdraw.
3- create a method called transferMoney that ask the user to enter the amount to transfer.
4- create a method called checktransfer boolean that return true or false.
5- create a method called checkBalance to chelck the account balance.
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