This is a simple Java program that simulates basic banking operations. It supports creating savings and current accounts, depositing money, withdrawing money, calculating interest for savings accounts, and checking account balances.
- Create Savings and Current accounts
- Deposit money
- Withdraw money
- Calculate interest for Savings accounts
- Check account balances
- Handle overdrafts for Current accounts
When you run the program, you'll see a menu with these options:
- Create Savings Account: Enter account details to create a new savings account.
- Create Current Account: Enter account details to create a new current account.
- Deposit: Deposit money into an existing account.
- Withdraw: Withdraw money from an existing account.
- Calculate Interest: Add interest to the balance of a savings account.
- Show Balance: Check the balance of an existing account.
- Exit: Close the program.