This Java class represents a basic bank account management system. It allows users to register, deposit/withdraw money, change passwords, and perform various transactions.
-
Constructor: Upon creating an instance of the
Account
class, the user is prompted to register by providing their full name, ID number, password, and answering a security question. -
Login: After registration, users can log in with their ID number and password.
-
Transaction Menu: Once logged in, users are presented with a menu where they can choose various actions:
- Deposit money into their account.
- Withdraw money from their account (if sufficient balance).
- Change their password.
- Exit the program.
-
Deposit: Users can deposit money into their account by entering the desired amount.
-
Withdrawal: Users can withdraw money from their account, provided they have sufficient balance.
-
Change Password: Users can change their password by answering their security question.
-
Exit: Users can safely exit the program.
fullName
: User's full name.IdNo
: User's ID number.securityQuestion
: User's security question answer.password
: User's password.balance
: User's account balance.selector
: Selected option for transaction.loading
,bracket
,warning
: Strings for display purposes.
warning()
: Prints a warning message.bracket()
: Prints a bracket line.loading()
: Prints a loading message.- Getters and setters for all attributes.
- Furkan Aydemir
- deerborg
- Version: alpha 1.1
- Release Date: 2024
This project is licensed under the MIT License - see the LICENSE.md file for details.