This is a simple Java program that simulates basic ATM operations like balance inquiry, deposits, withdrawals, and PIN change.
- Check Balance
- Deposit Money
- Withdraw Cash
- Change PIN
- Make sure you have Java installed on your computer.
- Download the
ATM.java
file. - Compile the program:
javac ATM.java
Please select ID: 1. DOMESTIC, 2. INTERNATIONAL
1
Welcome to HDFC Bank, Hariharan
Enter Your PIN: 2002
Please select a transaction:
1. Balance Inquiry
2. Deposit
3. Cash Withdrawal
4. PIN Change
1
Your balance is: ₹5000
private String name = "YourName";
private int PIN = 1234;
private int balance = 10000;
This project is open-source and free to use.
This simplified version removes some of the technical details and keeps the instructions clear and concise.