Abstract
• The ATMSimulator System is a console-based
Java application that simulates basic ATM
functionalities.
• The goal is to replicate real-world ATM
operations like user authentication, balance
inquiry, cash deposit, and withdrawal.
• It demonstrates object-oriented programming
concepts and user input handling in Java.
3.
Objective
• • Simulatebasic ATM functionalities
• • Provide a secure login system
• • Demonstrate Java programming concepts
• • Implement account operations using object-
oriented principles
4.
Tools and Technologies
•• Java SE
• • Console-based input using Scanner class
• • Object-Oriented Programming
• • JDK (Java Development Kit)
5.
System Architecture
• 1.User launches the ATM application.
• 2. Enters account number and PIN.
• 3. Upon successful authentication:
• • Check balance
• • Deposit money
• • Withdraw money
• 4. Exit on demand
6.
Project Structure
• •ATM.java – Handles user interface and main
logic.
• • BankAccount.java – Manages account
operations like deposit, withdraw, balance
check, and authentication.
7.
ATM.java (Part 1)
•import java.util.Scanner;
• public class ATM {
• public static void main(String[] args) {
• Scanner scanner = new
Scanner(System.in);
• BankAccount account = new
BankAccount("123456", "1234", 1000.00);
8.
ATM.java (Part 2)
•System.out.println("Welcome to the
ATM!");
• System.out.print("Enter your account
number: ");
• String accNum = scanner.nextLine();
• System.out.print("Enter your PIN: ");
• String pin = scanner.nextLine();
Conclusion
• This miniproject demonstrates a working
console-based ATM simulation using Java.
• It introduces fundamental Java concepts such
as classes, objects, conditionals, loops, and
user input handling.
• This foundation can be extended with GUI,
database support, and additional features like
transaction history and multiple account
management.