Ashish JAVA PDF
Ashish JAVA PDF
In Pursuit of Excellence
i
Maharashtra State
Board of Technical Education, Mumbai
Certificate of Completion
Prof.Mohite.P.M Prof.Lokaksha.N.D
(Guide) (H.O.D)
Prof.Bhopale.S.D.
(Principle)
ii
INDEX
Micro-Project Report
1.0 Rationale 4
2.0 Aims/Benefits of the Micro-Project 4
3.0 Course Outcomes Achieved 5
4.0 Literature Review 5
5.0 Actual Methodology Followed 6
iii
MICRO-PROJECT PROPOSAL
1
4.0 Action Plan:
2
5.0 Resources Required:
1. Ashish S. Bansode
2. Akshay D. Pawar
Guided by:
Prof.Mohite.P.M
3
MICRO-PROJECT REPORT
1.0 Rationale:
The main objective of the project is to develop online Banking system for banks. In
present system all banking work is done manually. User have to visit bank to
Withdrawal or Deposit amount. In present bank system it is also difficult to find
account information of account holder. In this bank management system, we
will automate all the banking process. In our bank management system user can
check his balance online and he can also transfer money to other account online. In
this Software you can keep record for daily Banking transactions. The main
purpose of developing bank management system is to design an application,
which could store bank data and provide an interface for retrieving customer
related details with 100% accuracy. This bank management system also allow
user to add new customer account, delete account and user can also modify
existing user account information. Using this system user can also search any
individual account in few seconds. Using our bank management system user can
also check any translation in any account. Our system also provide security
check to reduce fraud. The system will check the user’s existence in the database
and provide the set of services with respect to the role of the user.
4
3.0 Course Outcomes Achieved:
Berzal (2005) investigated on the tools and frameworks that are available for Java
application development. This was to explore the merits and demerits of tools and
frameworks. This researcher made good review of various frameworks in Java
platform. The frameworks include Struts, Tapestry, Web Work, Internet Beans
Express, Velocity and Cocoon. The purpose of these frameworks is to help
developers build web applications systematically. They all support the design pattern
Model-View-Controller (MVC) (Berzal, 2005).
Leff & Reyfield (2001) explored MVC more in the context of web application
developing using Servlets and JSP technologies. They investigated the usage,
advantages of using MVC in web application development. MVC can provide clear
separation of layers promoting reusability, scalability and availability besides
minimizing maintenance costs.
5
5.0 Actual Methodology Follow:
The main object of this system is to provide a secure system. Our system is
password protected and it only allows authorized user to access various
functions available in the system
Our system will help the user to Locate any A/C wanted by the user. It will
Reduced manual work as most of the work done by computer. As all the manual
work will be done automatically so it will increase work speed and reduce time
consumption to complete any bank related work
The Project Banking system has been made to automate the Banking system.
Through this bank management system user can manage all bank account
activity like deposit money, withdraw money, transfer money from one account
to another account, online payment etc. Using this bank management system
user can check his account detail online like balance in account, bank statement
etc. The Administrator can check bank account with a login can work out with
A/C holders of the bank can withdraw/ deposit cash / cheques /DD to/from their
accounts.
In this project we have automate the bank process like Account Opening, Daily
Transactions, Loan Sanctions, Account Maintenance. In this bank management
system use can also search record of a particular Account Holder.
o Savings Account
o Current Account
o Fixed Deposit Account
o Recurring Deposit Account
o Loan Account
6
FEATURES PROPOSED IN BANK MANAGEMENT SYSTEM
The main objective of the system is to automate all the banking process with
improved performance a realize the vision of paperless banking. Salient features
of the proposed bank management system are given below.
Using this bank management system any information can be easily searched.
User can view all the details of the customer.
Using this system user can create new customer account and maintain its data
efficiently and effectively. All records of account and customer are stored in
separate files. Which are maintained constantly update by system.
Manage large number of customer details with ease. Particular A/c information
can be modified A particular customer record can be modified for one or more
field’s customer name, address by providing A/c number.
The proposed system provides faster data access, data entry and retrieval.
The proposed system is more efficient, fast, reliable, user friendly. Over and
above the proposed system does not have any possibility of data loss during
processing.
7
DATA FLOW DIAGRAM OF BANKING SYSTEM
8
JAVA PROGRAM FOR BANKING SYSTEM
Display All
Search by Account
Deposit
Withdrawal
Exit
Initially, we will add some (N) customers to the bank and then we can display allaccount
details using menu: -
1. Menu
2. Menu is used to search the bank account.
3. Menu is used to deposit money in particular account.
4. Menu is used to manager withdrawal.
5. Menu is used to exit from the program.
9
CODING
import java.util.Scanner;
class Bank
{
private String accno;
private String name;
private long balance;
Scanner KB = new Scanner(System.in);
void openAccount()
{
System.out.print("Enter Account No: ");
accno = KB.next(); System.out.print("Enter
Name: ");
name = KB.next();
System.out.print("Enter Balance: ");
balance = KB.nextLong();
}
void showAccount()
10
{
System.out.println(accno + "," + name + "," + balance);
}
//method to deposit money
void deposit()
{
long amt;
System.out.println("Enter Amount U Want to Deposit : ");
amt = KB.nextLong();
balance = balance + amt;
}
void withdrawal()
{
long amt;
System.out.println("Enter Amount U Want to withdraw : ");amt =
KB.nextLong();
if (balance >= amt)
{
balance = balance - amt;
}
else {
System.out.println("Less Balance..Transaction Failed..");
11
}}
12
//method to search an account number
return (true);
}
return (false);
}}
public class ExBank
{
public static void main(String arg[])
{
Scanner KB = new Scanner(System.in);
13
C[i] = new Bank();
C[i].openAccount();
14
}
int ch;
do {
System.out.println("Main Menu\n1. Display All\n 2. Search By Account\n 3.
Deposit\n 4.
Withdrawal\n 5.E xit ");
16
System.out.println("Search Failed..Account Not Exist..");
}
break;
case 3:System.out.print("Enter Account No : ");
acn = KB.next();
found = false;
for (int i = 0; i < C.length; i++) {
found = C[i].search(acn);
if (found) {
C[i].deposit();
break;
}}
if (!found) {
System.out.println("Search Failed..Account Not Exist..");
} break;
case 4: System.out.print("Enter Account No : ");
acn = KB.next();
found = false;
for (int i = 0; i < C.length; i++) {
found = C[i].search(acn);
17
if (found) {
C[i].withdrawal();break;
}}
if (!found) {
System.out.println("Search Failed..Account Not Exist..");
}
break;
case 5: System.out.println("Good Bye.."); break;
}}
while (ch != 5);
}}
18
PROGRAM OUTPUT: -
101,Chintu,25000
102,Alexander,30000
19
Main Menu 1.Display
All 2.Search By
Account3.Deposit
4.Withdrawal 5.Exit
Ur Choice :
3
20
CONCLUSION
21
REFERENCES
1. https://www.geeksforgeeks.org
2. https://www.techcrashcourse.com/?m=1
3. http://www.i-world-tech.blogspot.in
4. https://www.thecrazyprogrammer.com
5. JAVA Programming Books
6. Library
22
FUTURE SCOPE
Creating New Accounts- The application can be used to create two different
types of accounts by the customers, which are Savings Account and Current
Account. It helps save the hustle for the customer to visit the bank physically
and create/use these accounts.
Depositing Money- As the world is moving towards the limited use of paper
currency, depositing or transferring money from one bank to the other will
become as easy as clicking a few buttons using this application.
Withdrawing Money- Requests can be sent through the application to ask for
money transfer as well.
Account Holder List- This is a feature for the admin. The admin can view the
list of all the account holders.
Balance Enquiry- The customer can check their balance via this application.
Changing Passwords/PIN- The customer can easily change the passwords and
pin numbers using the application.
Closing- The customer can close their accounts too using this applica
23
6.0 Actual Resources Used:
3. Software jdk
Concerned Teacher
Prof.Mohite.P.M
24
25