This Java program is a simple bank application that enables the user to manage his/her current or savings account via the command line interface. The program can deposit and withdraw funds in current and savings accounts and return again to the main menu.
Features:
- Main menu with options to access current account, savings account, or exit the program.
- Current account menu with options to deposit or withdraw funds.
- Savings account menu with options to deposit or withdraw funds.
- Input validation to handle invalid user choices and prevent overdrawing.
Usage:
- Run the program.
- Choose between a current or savings account.
- Perform transactions such as deposit or withdraw funds.
- Exit the program when finished.
This program serves as a basic example of implementing a banking system in Java with simple functionality.