Micro Project Thesis on Banking System
in Java
Submitted by: _____________________
Class / Roll No: ___________________
Submitted to: ______________________
1. Introduction
The project 'Banking System' is developed in Java to perform basic banking operations such
as account creation, deposit, withdrawal, balance inquiry, and transaction history. The
project demonstrates practical implementation of Java concepts like object-oriented
programming, exception handling, and file handling.
2. Objectives
- To simulate a simple banking application using Java.
- To provide functionalities such as deposit, withdrawal, and balance check.
- To demonstrate use of classes, objects, inheritance, and encapsulation.
- To use file handling or database for storing records.
3. Problem Definition
In traditional banking, most processes are manual and time-consuming. This project aims to
provide a digital system where users can perform basic banking tasks efficiently using Java.
4. Methodology
The project is implemented in Java with the following modules:
1. Account Creation
2. Deposit Money
3. Withdraw Money
4. Balance Inquiry
5. Exit System
The program uses object-oriented principles, and data can be stored in files for persistence.
5. System Design
Class Diagram:
+-------------------+
| BankAccount |
+-------------------+
| - accNo: int |
| - name: String |
| - balance: double |
+-------------------+
| + deposit() |
| + withdraw() |
| + checkBalance() |
+-------------------+
6. Implementation (Sample Code)
class BankAccount {
int accNo;
String name;
double balance;
BankAccount(int accNo, String name, double balance) {
this.accNo = accNo;
this.name = name;
this.balance = balance;
}
void deposit(double amount) {
balance += amount;
System.out.println("Amount Deposited: " + amount);
}
void withdraw(double amount) {
if(balance >= amount) {
balance -= amount;
System.out.println("Amount Withdrawn: " + amount);
} else {
System.out.println("Insufficient Balance!");
}
}
void checkBalance() {
System.out.println("Balance: " + balance);
}
}
public class BankingSystem {
public static void main(String[] args) {
BankAccount acc1 = new BankAccount(101, "Aarav", 5000);
acc1.deposit(2000);
acc1.withdraw(1500);
acc1.checkBalance();
}
}
7. Advantages
- Simple and easy to use.
- Reduces manual errors.
- Demonstrates Java programming concepts effectively.
8. Limitations
- Limited to basic banking operations.
- No real database or online connectivity.
- Single user execution.
9. Future Scope
- Integration with MySQL or cloud database.
- Multi-user support.
- Advanced security features.
- Graphical User Interface using Java Swing/JavaFX.
10. Conclusion
The Banking System project demonstrates a mini implementation of basic banking
operations using Java. It gives students practical exposure to object-oriented concepts,
exception handling, and file handling. This project can be enhanced in the future to become
a complete banking application with GUI and database integration.