Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/deerborg/oop-bankaccount
This Java class represents a basic bank account management system. It allows users to register, deposit/withdraw money, change passwords, and perform various transactions.
https://github.com/deerborg/oop-bankaccount
Last synced: about 2 months ago
JSON representation
This Java class represents a basic bank account management system. It allows users to register, deposit/withdraw money, change passwords, and perform various transactions.
- Host: GitHub
- URL: https://github.com/deerborg/oop-bankaccount
- Owner: deerborg
- Created: 2024-02-13T21:11:46.000Z (11 months ago)
- Default Branch: master
- Last Pushed: 2024-05-08T23:00:54.000Z (8 months ago)
- Last Synced: 2024-05-09T00:23:12.369Z (8 months ago)
- Language: Java
- Homepage:
- Size: 13.7 KB
- Stars: 3
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Account Class
This Java class represents a basic bank account management system. It allows users to register, deposit/withdraw money, change passwords, and perform various transactions.
## Usage
1. **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.
2. **Login**: After registration, users can log in with their ID number and password.
3. **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.4. **Deposit**: Users can deposit money into their account by entering the desired amount.
5. **Withdrawal**: Users can withdraw money from their account, provided they have sufficient balance.
6. **Change Password**: Users can change their password by answering their security question.
7. **Exit**: Users can safely exit the program.
## Attributes
- `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.## Methods
- `warning()`: Prints a warning message.
- `bracket()`: Prints a bracket line.
- `loading()`: Prints a loading message.
- Getters and setters for all attributes.## Contributors
- **Furkan Aydemir**
- **deerborg**## Version History
- **Version**: alpha 1.1
- **Release Date**: 2024## License
This project is licensed under the MIT License - see the [LICENSE.md](LICENSE.md) file for details.