Call for Papers - African Journal of Biological Sciences, E-ISSN: 2663-2187, ...
BANK MANAGEMENT SYSTEM report
1. 1
PROJECT BASED LAB REPORT
On
BANK MANAGEMENT SYSTEM
BY: E NANDANA PRIYANKA
CONTENTS
1) ABSTRACT
2) INTRODUCTION
3) FUNCTIONAL REQUIREMENTS
4) NON-FUNCTIONAL REQUIREMENTS
5) CODE
6) OUTPUT / SCREEN SHOTS
7) CONCLUSION
ABSTRACT:
The purpose of this project is in partial fulfilment of the requirements of customer using the
online banking for payment. The Design and development of this Bank Management system
provides a more secured approach in managing bank customer’s information which strengthens
the relationships between banks and their customers by providing the right solutions that uses
a multi-level security to improve customer satisfaction. The programming language used to
develop this project is. Java.
The Domain “Banking System " keeps the day by day tally record as a complete banking. It
can keep the information of Account type, account opening form, Deposit, Withdrawal, and
Searching the transaction, Transaction report, Individual account opening form, Group
Account. The exciting part of this project is; it displays Transaction reports, Statistical
Summary of Account type and Interest Information.
2. 2
INTRODUCTION:
Online banking (Internet banking or E-banking ) allows customers of a financial institution to
conduct financial transactions on a secured website operated by the institution, which can be are
tail bank, virtual bank, credit union or building society.
Online banking is an umbrella term for the process by which a customer may perform banking
transactions electronically without visiting a brick-and-mortar institution. The following term
shall refer to one form or another of online banking: personal computer (PC) banking,
Internet banking, virtual banking, online banking, home banking, remote electronic banking,
and phone bank. PC banking and Internet or online banking is the most frequently used
designations. It should be noted, however, that the terms used to describe the various types of
online banking are often used inter changeably. Online banking is an activity that is not new to
banks or their customers. Banks having been providing their services to customers
electronically for years through software programs. These software programs allowed the users
personal computer to dial up the bank directly. In the past however, banks have been very
reluctant to provide their customers with banking via the Internet due to security concerns
SOFTWARE REQUIREMENTS:
The major software requirements of the project are as follows:
Language : Java
Operating system: Windows Xp or later.
HARDWARE REQUIREMENTS:
The hardware requirements that map towards the software are as follows:
RAM: 256MB
Processor: Intel
Mouse
Keyboard.
3. 3
REQUIREMENTS:
It is the process of determining user expectations for a new or modified product. These features
are called requirements, must be quantifiable, relevant and detailed.
There are mainly two types of requirements:
i. FUNCTIONAL REQUIREMENTS:
newEntry( )
The customer can add new entries. So that he/she can create a new account to
store money and follow further transactions.
display( )
The customer uses this inorder to verify the total amount available in his/her
account inorder to do further transactions or not.
deposit( )
The customer uses this inorder to add a specific amount to his/her bank account.
So this option shows them the previous amount and final amount after deposit.
withdraw( )
The customer uses this to withdraw a specific amount from his/her account. So
this option shows them the previous amount in the account and total amount
after withdraw along with some conditions.
4. 4
ii. NON-FUNCTIONAL REQUIREMENTS:
EXCEPTION HANDLING:
The exception handling in java is one of the powerful mechanism to handle the runtime
errors so that normal flow of the application can be maintained.
a. Try:
Java try block is used to enclose the code that might throw an exception. It must be used within
the method. Java try block must be followed by either catch block
b. Catch:
Java catch block is used to handle the Exception. It must be used after the try block only.
You can use multiple catch block with a single try.
FILES:
The java.io package contains nearly every class you might ever need to perform input and
output (I/O) in Java. All these streams represent an input source and an output destination. The
stream in the java.io package supports many data
INPUT STREAM READER:
An InputStreamReader is a bridge from byte streams to character streams: It reads bytes and
translates them into characters according to a specified character encoding.
BUFFERED READER CLASS:
Buffered Reader class reads text from a character-input stream, buffering characters so as to
provide for the efficient reading of characters, arrays, and lines. Following are the important
points about Buffered Reader:
The buffer size may be specified, or the default size may be used.
5. 5
ACCESS SPECIFIERS:
Access specifiers defines the access rights for the statements or functions that follows it until
another access specifier or till the end of a class. The two types of access specifiers used are
"private", "public”.
private:
The members declared as "private" can be accessed only within the same class and not from
outside the class.
public:
The members declared as "public" are accessible within the class as well as from outside the
class.
MENU-DRIVEN:
Term used to describe a software program that is operated using file menus instead of using
commands. In the menu-driven of banking system are:
NEW ACCOUNT
DISPLAY DETAILS
DEPOSIT
WITHDRAW
6. 6
CODE:
import java.io.*;
class BankWork {
final int max_limit=20;
final int min_limit=1;
final double min_bal=500;
private String name[]=new String[20];
private int accNo[]=new int[20];
private String accType[]=new String[20];
private double balAmt[]=new double[20];
static int totRec=0;
BankWork() {
for(int i=0;i<max_limit;i++) {
name[i]="";
accNo[i]=0;
accType[i]="";
balAmt[i]=0.0;
}
}
public void newEntry() {
String str;
int acno;
double amt;
boolean permit;
permit=true;
7. 7
if (totRec>max_limit) {
System.out.println("nnnSorry we cannot admit you in our bank...nnn");
permit=false;
}
if(permit = true) {
totRec++;
System.out.println("nnn=====RECORDING NEW ENTRY=====");
try{
accNo[totRec]=totRec;
System.out.println("Account Number : "+accNo[totRec]);
BufferedReader obj = new BufferedReader(new InputStreamReader(System.in));
System.out.print("Enter Name : ");
System.out.flush();
name[totRec]=obj.readLine();
System.out.print("Enter Account Type : ");
System.out.flush();
accType[totRec]=obj.readLine();
do{
System.out.print("Enter Initial Amount to be deposited : ");
System.out.flush();
str=obj.readLine();
balAmt[totRec]=Double.parseDouble(str);
}while(balAmt[totRec]<min_bal);
System.out.println("nnn");
} catch(Exception e){
}
}
}
public void display(){
String str;
8. 8
int acno=0;
boolean valid=true;
System.out.println("nn=====DISPLAYING DETAILS OF CUSTOMER=====n");
try{
BufferedReader obj = new BufferedReader(new InputStreamReader(System.in));
System.out.print("Enter Account number : ");
System.out.flush();
str=obj.readLine();
acno=Integer.parseInt(str);
if (acno<min_limit || acno>totRec) {
System.out.println("nnnInvalid Account Number nn");
valid=false;
}
if (valid==true) {
System.out.println("nnAccount Number : "+accNo[acno]);
System.out.println("Name : "+name[acno]);
System.out.println("Account Type : "+accType[acno]);
System.out.println("Balance Amount : "+balAmt[acno]+"nnn");
}
} catch(Exception e){
}
}
public void deposit()
{
String str;
double amt;
int acno;
boolean valid=true;
System.out.println("nnn=====DEPOSIT AMOUNT=====");
9. 9
try{
BufferedReader obj = new BufferedReader(new InputStreamReader(System.in));
System.out.print("Enter Account No : ");
System.out.flush();
str=obj.readLine();
acno=Integer.parseInt(str);
if (acno<min_limit || acno>totRec)
{
System.out.println("nnnInvalid Account Number nn");
valid=false;
}
if (valid==true)
{
System.out.print("Enter Amount you want to Deposit : ");
System.out.flush();
str=obj.readLine();
amt=Double.parseDouble(str);
balAmt[acno]=balAmt[acno]+amt;
System.out.println("nAfter Updation...");
System.out.println("Account Number : "+acno);
System.out.println("Balance Amount : "+balAmt[acno]+"nnn");
}
}catch(Exception e){
}
}
public void withdraw() {
String str;
double amt,checkamt;
int acno;
10. 10
boolean valid=true;
System.out.println("nnn=====WITHDRAW AMOUNT=====");
try{
BufferedReader obj = new BufferedReader(new InputStreamReader(System.in));
System.out.print("Enter Account No : ");
System.out.flush();
str=obj.readLine();
acno=Integer.parseInt(str);
if (acno<min_limit || acno>totRec) {
System.out.println("nnnInvalid Account Number nn");
valid=false;
}
if (valid==true) {
System.out.println("Balance is : "+balAmt[acno]);
System.out.print("Enter Amount you want to withdraw : ");
System.out.flush();
str=obj.readLine();
amt=Double.parseDouble(str);
checkamt=balAmt[acno]-amt;
if(checkamt >= min_bal) {
balAmt[acno]=checkamt;
System.out.println("nAfter Updation...");
System.out.println("Account Number : "+acno);
System.out.println("Balance Amount : "+balAmt[acno]+"nnn");
}
else{
System.out.println("nn maintain minimum balance of Rs 500nnn");
}
}
}catch(Exception e){
11. 11
}
}
};
class Bank {
public static void main(String args[]) {
String str;
int choice;
choice=0;
BankWork BW_obj = new BankWork();
do{
System.out.println("Choose Your Choices ...");
System.out.println("1) New Record Entry ");
System.out.println("2) Display Record Details ");
System.out.println("3) Deposit...");
System.out.println("4) Withdraw...");
System.out.println("5) Exit");
System.out.print("Enter your choice : ");
System.out.flush();
try{
BufferedReader obj = new BufferedReader(new InputStreamReader(System.in));
str=obj.readLine();
choice=Integer.parseInt(str);
switch(choice)
{
case 1 : BW_obj.newEntry();
break;
case 2 : BW_obj.display();
break;
case 3 : BW_obj.deposit();
break;
15. 15
CONCLUSION:
From all the information we can create a bank management system. The whole process of
banking is showed in the code like creating new account, displaying details, deposits,
withdraw. Hence we can conclude that Project is accomplished successfully.
REFERENCES:
1. Budd, T. (1997b), An Introduction to Object-Oriented Programming, 2nd edn,
Addison-Wesley.
2. Ghezzi, C., Jayazeri, M. & Mandrioli, D. (1998), Fundamentals of Software
Engineering, 2nd edn,Prentice-Hall.
3. K. Appel and W. Haken. (1976), Every Planar Map is 4-colorable, Bull. Amer. Math.
Soc., vol. 82, pp. 711-712