Java Micro Project
Java Micro Project
Fourth Semester
(Year: 2024-25)
Micro Project
number, account holder name, account balance, and perform operations such as withdrawal,
CERTIFICATE
under the guidance of Ms. Aqsa Shaikh for the academicyear 2024-25
Institution
seal
Teacher Evaluation Sheet for Micro Project
Title of the Project: - Develop a mini ATM Machine System. It should accept account
number, account holder name, account balance, and perform operations such as withdrawal,
Group No: -
CO 3 :
CO 4 :
CO 5 : .
Marks:-
Marks
Marks for obtainedby the Total
Roll No. Name Of Student Group Work individual Marks
(6) based on viva (10)
(4)
38 Alnaz Firozkhan Pathan
Signature:
1.Title of the Project: - Develop a mini ATM Machine System. It should accept account
number, account holder name, account balance, and perform operations such as withdrawal,
deposit, and balance check.
2.Description of the Project: This Java based ATM system is a simple console application
that's stimulate basic banking transaction. It allows user to interact with a virtual ATM where
they can deposit money, withdraw funds, check their account balance and exit the system, The
program is structured using object oriented programming (OOP) principle ensuring modularity
and data encapsulation.
3.Concepts of OOP used in the Project: Class and Objects, Inheritance, Data
Encapsulation.
4.Project Code:
import java.util.Scanner;
class Account {
private String accountNumber;
private String accountHolderName;
private double balance;
switch (choice) {
case 1:
System.out.print("Enter deposit amount: ");
double depositAmount = scanner.nextDouble();
userAccount.deposit(depositAmount);
break;
case 2:
System.out.print("Enter withdrawal amount: ");
double withdrawAmount = scanner.nextDouble();
userAccount.withdraw(withdrawAmount);
break;
case 3:
userAccount.checkBalance();
break;
case 4:
System.out.println("Thank you for using the ATM. Goodbye!");
scanner.close();
return;
default:
System.out.println("Invalid choice. Please try again.");
}
}
}
}
5. Project Output:
Choose an option: 1
Enter Deposit Amount: 30000
Deposit successful! New Balance: $100000.0