A console-based ATM simulation built using Java and Object-Oriented Programming (OOP) principles.
This project demonstrates real-world ATM functionality such as PIN authentication, balance checking, deposits, and withdrawals.
- 🔐 PIN Verification
- 💰 Check Account Balance
- ➕ Deposit Money
- ➖ Withdraw Money
- 🔁 Menu-driven interface
- ❌ Input validation for invalid amounts
- Classes & Objects
- Encapsulation (private variables)
- Constructors
- Method abstraction
- HAS-A relationship (Composition)
atm-simulator/
├── Account.java
├── ATM.java
├── Main.java
└── README.md
- Open terminal in project folder
- Compile the files:
javac *.java- Run the program:
java MainWelcome to the ATM
Enter your PIN:
1. Check Balance
2. Deposit
3. Withdraw
4. Exit
- Java
- VS Code
- Git & GitHub
Pawan Soni
GitHub: https://github.com/yourusername
- Transaction history feature
- Multiple account support
- 3-attempt PIN lock system
- File storage for balance
- GUI version using JavaFX