Please code in JAVA and follow the instructions as it is and dont use very advanced methods.. keep it basic Create a menu driven bank account application that supports the following operations: Deposit money Withdraw Check balance Create new account Example of the console: 1. Deposit money 2. Withdraw money 3. Check balance 4. Create new account Your choice, 0 to quit: 1. Create BankAccount Object that will be used to hold account number, first name, last name, and initial balance. Bank account numbers will be numeric and should be assigned by your program. 2. Since we don't have a database to use you will add accounts at runtime and process different transactions (deposit, withdraw, check balance) with them before ending the program (option 0 to quit). 3. If you select option 1 or 2 you need to ask for account number and amount. Then after processing display on the console the Account Number and current balance. 4. If option 3 is selected you need to ask for the account number and after processing display on the console the Account Number and current balance. 5. If option 4 is selected you need to ask for first name, last name, and initial balance. Then after processing display on the console a message thanking the account holder for joining the bank. 6. Make sure you add validations and display proper messages. Invalid option is selected. Users can't withdraw money they don't have. Users first and last name must be at least 3 characters each. 7. When the program quits: Display to the console the Account that has the highest balance and the one that has the lowest balance. Write contents of the BankAccount to a file called MyBank.txt (comma delimited file) Example of the console: Highest balance: Account 2 Amount $1532.57 Lowest balance: Account 4 Amount $35.15 Example of MyBank file: Notes 1,John,Smith,2345.99 2,Jane,Doe,1496.23 3,Jack,Clone,3645.87 4,Sara,James,21568.32

Database System Concepts
7th Edition
ISBN:9780078022159
Author:Abraham Silberschatz Professor, Henry F. Korth, S. Sudarshan
Publisher:Abraham Silberschatz Professor, Henry F. Korth, S. Sudarshan
Chapter1: Introduction
Section: Chapter Questions
Problem 1PE
icon
Related questions
Question

Please code in JAVA and follow the instructions as it is and dont use very advanced methods.. keep it basic

Create a menu driven bank account application that supports the following operations:
Deposit money
Withdraw
Check balance
Create new account
Example of the console:
1. Deposit money
2. Withdraw money
3. Check balance
4. Create new account
Your choice, 0 to quit:
1. Create BankAccount Object that will be used to hold account number, first name, last name, and initial balance. Bank account numbers will be numeric and should be assigned by your program.
2. Since we don't have a database to use you will add accounts at runtime and process different transactions (deposit, withdraw, check balance) with them before ending the program (option 0 to quit). 3. If you select option 1 or 2 you need to ask for account number and amount. Then after processing display on the console the Account Number and current balance.
4. If option 3 is selected you need to ask for the account number and after processing display on the console the Account Number and current balance.
5. If option 4 is selected you need to ask for first name, last name, and initial balance. Then after processing display on the console a message thanking the account holder for joining the bank. 6. Make sure you add validations and display proper messages.
Invalid option is selected.
Users can't withdraw money they don't have.
Users first and last name must be at least 3 characters each.
7. When the program quits:
Display to the console the Account that has the highest balance and the one that has the lowest balance.
Write contents of the BankAccount to a file called MyBank.txt (comma delimited file)
Example of the console:
Highest balance: Account 2 Amount $1532.57
Lowest balance: Account 4 Amount $35.15

Example of MyBank file:
Notes
1,John,Smith,2345.99
2,Jane,Doe,1496.23
3,Jack,Clone,3645.87
4,Sara,James,21568.32

Expert Solution
steps

Step by step

Solved in 2 steps

Blurred answer
Knowledge Booster
Block Comments
Learn more about
Need a deep-dive on the concept behind this application? Look no further. Learn more about this topic, computer-science and related others by exploring similar questions and additional content below.
Similar questions
Recommended textbooks for you
Database System Concepts
Database System Concepts
Computer Science
ISBN:
9780078022159
Author:
Abraham Silberschatz Professor, Henry F. Korth, S. Sudarshan
Publisher:
McGraw-Hill Education
Starting Out with Python (4th Edition)
Starting Out with Python (4th Edition)
Computer Science
ISBN:
9780134444321
Author:
Tony Gaddis
Publisher:
PEARSON
Digital Fundamentals (11th Edition)
Digital Fundamentals (11th Edition)
Computer Science
ISBN:
9780132737968
Author:
Thomas L. Floyd
Publisher:
PEARSON
C How to Program (8th Edition)
C How to Program (8th Edition)
Computer Science
ISBN:
9780133976892
Author:
Paul J. Deitel, Harvey Deitel
Publisher:
PEARSON
Database Systems: Design, Implementation, & Manag…
Database Systems: Design, Implementation, & Manag…
Computer Science
ISBN:
9781337627900
Author:
Carlos Coronel, Steven Morris
Publisher:
Cengage Learning
Programmable Logic Controllers
Programmable Logic Controllers
Computer Science
ISBN:
9780073373843
Author:
Frank D. Petruzella
Publisher:
McGraw-Hill Education