Skip to content

pawan0221/Java-CLI-ATM-Simulator-using-OOP

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 

Repository files navigation

🏧 ATM Simulator (Java CLI Project)

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.


🚀 Features

  • 🔐 PIN Verification
  • 💰 Check Account Balance
  • ➕ Deposit Money
  • ➖ Withdraw Money
  • 🔁 Menu-driven interface
  • ❌ Input validation for invalid amounts

🧠 OOP Concepts Used

  • Classes & Objects
  • Encapsulation (private variables)
  • Constructors
  • Method abstraction
  • HAS-A relationship (Composition)

🏗 Project Structure

atm-simulator/
 ├── Account.java
 ├── ATM.java
 ├── Main.java
 └── README.md

▶️ How to Run

  1. Open terminal in project folder
  2. Compile the files:
javac *.java
  1. Run the program:
java Main

💻 Sample Output

Welcome to the ATM
Enter your PIN:
1. Check Balance
2. Deposit
3. Withdraw
4. Exit

📌 Technologies Used

  • Java
  • VS Code
  • Git & GitHub

👨‍💻 Author

Pawan Soni

GitHub: https://github.com/yourusername


⭐ Future Improvements

  • Transaction history feature
  • Multiple account support
  • 3-attempt PIN lock system
  • File storage for balance
  • GUI version using JavaFX

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages