0% found this document useful (0 votes)
14 views

Advance of Java Tushar

Uploaded by

Vaishakhi Chavan
Copyright
© © All Rights Reserved
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
14 views

Advance of Java Tushar

Uploaded by

Vaishakhi Chavan
Copyright
© © All Rights Reserved
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 15

Manav School of Polytechnic, Akola.

DEPARTMENT OF COMPUTER ENGINEERING

Academic Year - 2023-24

Project of ADVANCED JAVA PROGRAMMAING


Submitted To M.S.B.T.E. In Partial Fulfillment Of The Requirement For

The Diploma In Computer Engineering.

Project on – 1) Banking Management System

Submitted By:

Tushar .G. Maliye


Kaif Khan
Tabish Aahmad

Project Guide – Miss.Shubhangi Damoder mam

Subject Teacher Head of the Department


INDEX
SR NO CONTENTS PAGE NO

1 Introduction

2 Aim of the Micro-Project

3 Course Outcomes Achieved

4 Actual Methodology Followed

5 Actual Resources Used

6 Skills Developed

7 Applications of Micro Project

8 Reference
Abstract

we will understand how to develop a mini-application for a banking


system in Java. In this program, we will add some basic functionalities of a bank
account like a deposit of amount, withdrawal of amount, etc.

Originally, the program accepts the number of customers we require to add and
adds the customer and account details thus. Further, it displays a series of menus
to work over the accounts.
Aim :

• To learn basic java programming for making applications.


• To get Information about java programming syntax.
• Gain Knowledge about how to make banking applications in java.

Proposed methodology:
1. Study the concept of JAVA programming.
2. Study various syntax and functions of JAVA.
3. Study to create small programs using JAVA.
4. Make program for given criteria.
5. Prepare the final repo

Resources Required:

S. No. Resources required Specifications


1 Computer system Intel(R) Pentium CPU, RAM 4 GB

2 Operating System Windows 10, 64 Bit Operating System


3 Software’s Java JDK 15.02, Notepad++
Introduction :

Java is platform independent, open-source object-oriented programming


language enriched with free and open-source libraries. In the current industrial
scenario, Java has broad industry support and is a prerequisite with many allied
technologies like Advanced Java, Java Server Pages, and Android Application
Development. Thus, current industrial trends necessitate acquiring Java
knowledge for Computer Engineering and Information Technology graduates.
This course develops the necessary skills in students to apply object-oriented
programming techniques in Java so that students will be able to develop
complete applications using core Java

.
Aim of the Micro-Project:

Gain Knowledge about how to make banking applications in java

Course Outcomes Achieved

Develop programs using Object-Oriented methodology in Java


Actual Methodology Followed:

i. Study the concept of JAVA programming.


ii. Study various syntaxes and functions of JAVA.
iii. Study to create small programs using JAVA.
iv. Study to use Abstraction in JAVA.
v. Make program for given criteria.
vi. Prepare final report.

Actual Resources Used:

S. No. Resources required Specificati


ons
1 Computer system Intel(R) Pentium CPU, RAM 4 GB
2 Operating System Windows 10, 64 Bit Operating System
3 Software’s Java JDK 15.02, Notepad++
Source code of program:
import java.util.Scanner;
class BankDetails {
private String accno;
private String name;
private String acc_type;
private long balance;
Scanner sc = new Scanner(System.in);
//method to open new account
public void openAccount() {
System.out.print("Enter Account No: ");
accno = sc.next();
System.out.print("Enter Account type: ");
acc_type = sc.next();
System.out.print("Enter Name: ");
name = sc.next();
System.out.print("Enter Balance: ");
balance = sc.nextLong();
}
//method to display account details
public void showAccount() {
System.out.println("Name of account holder: " + name);
System.out.println("Account no.: " + accno);
System.out.println("Account type: " + acc_type);
System.out.println("Balance: " + balance);
}
//method to deposit money
public void deposit() {
long amt;
System.out.println("Enter the amount you want to deposit: ");
amt = sc.nextLong();
balance = balance + amt;
}
//method to withdraw money
public void withdrawal() {
long amt;
System.out.println("Enter the amount you want to withdraw: ");
amt = sc.nextLong();
if (balance >= amt) {
balance = balance - amt;
System.out.println("Balance after withdrawal: " + balance);
} else {
System.out.println("Your balance is less than " + amt + "\tTransaction failed...!!" );
}
}
//method to search an account number
public boolean search(String ac_no) {
if (accno.equals(ac_no)) {
showAccount();
return (true);
}
return (false);
}
}
public class BankingApp {
public static void main(String arg[]) {
Scanner sc = new Scanner(System.in);
//create initial accounts
System.out.print("How many number of customers do you want to input? ");
int n = sc.nextInt();
BankDetails C[] = new BankDetails[n];
for (int i = 0; i < C.length; i++) {
C[i] = new BankDetails();
C[i].openAccount();
}
// loop runs until number 5 is not pressed to exit
int ch;
do {
System.out.println("\n **Banking System Application**");
System.out.println("1. Display all account details \n 2. Search by Account number\n 3. Deposit
the amount \n 4. Withdraw the amount \n 5.Exit ");
System.out.println("Enter your choice: ");
ch = sc.nextInt();
switch (ch) {
case 1:
for (int i = 0; i < C.length; i++) {
C[i].showAccount();
}
break;
case 2:
System.out.print("Enter account no. you want to search: ");
String ac_no = sc.next();
boolean found = false;
for (int i = 0; i < C.length; i++) {
found = C[i].search(ac_no);
if (found) {
break;
}
}
if (!found) {
System.out.println("Search failed! Account doesn't exist..!!");
}
break;
case 3:
System.out.print("Enter Account no. : ");
ac_no = sc.next();
found = false;
for (int i = 0; i < C.length; i++) {
found = C[i].search(ac_no);
if (found) {
C[i].deposit();
break;
}
}
if (!found) {
System.out.println("Search failed! Account doesn't exist..!!");
}
break;
case 4:
System.out.print("Enter Account No : ");

ac_no = sc.next();
found = false;
for (int i = 0; i < C.length; i++) {
found = C[i].search(ac_no);
if (found) {
C[i].withdrawal();
break;
}
}
if (!found) {
System.out.println("Search failed! Account doesn't exist..!!");
}
break;
case 5:
System.out.println("See you soon...");
break;
}
}
while (ch != 5);
}
}
Output:
Skills Developed:

During the course of this micro-project, we learnt to create a


program on Banking management using java language

a) We learnt various syntaxes of Java language.


b) To learn basic java programing for making applications
c) We also learnt abstraction of a Class.

Applications of this Micro-project:


This micro-project finds its application in:

In this section, we will learn how to create a mini-application for a banking system
in Java. In this program, we will add some basic functionalities of a bank account
like a deposit of amount, withdrawal of amount, etc.

Initially, the program accepts the number of customers we need to add and adds
the customer and account details accordingly. Further, it displays the series of
menus to operate over the accounts.

The series of menus displayed are as follows:

1. Display all account details


2. Search by account number
3. Deposit the amount
4. Withdraw the amount
5. Exit

Conclusion:
We learn to Gain knowledge banking management. Also, we
developed a java file and learnt various syntax in java.
Reference :-

➢ https://www.w3schools.com/java/java_intro.asp

➢ https://www.scaler.com/topics/java/introduction-to-java/

➢ https://www.interviewbit.com/blog/java-developer-skills/
Acknowledgement

I feel proud to present my investigatory project in JAVA is in Store Management


System about and to know the using different methods.

This project wouldn’t have been feasible without the proper and rigorous guidance
of my java teacher Miss.Shubhangi Damoder who guided me throughout this
project in every possible way. There by I would like to thank Miss. Shubhangi
Damoder for guiding me on a step by step basis and ensuring that I completed all
our project with ease.

Rigorous hard work has been put in this project to ensure that it proves to be the
best I hope the best I hope that this project will prove to be a breeding ground for
the next generation of student and will guide them in every possible way.
MAHARASHTRA STATE BOARD OF TECHNICAL EDUCATION

CERTIFICATE
This is to certify that Mr./Ms.
…………………………………………………................
Roll No………, of First Semester of Diploma in
………………………………………………………………… of

Institute…………………………….............................………………

………… (Code: 22318 ) has completed the Micro-Project


satisfactorily in Subject Java for the academic year 2022 to 2023 as
prescribed in the curriculum.

Place……………….. Enrollment No…………………

Date…................ Exam Seat No……………………

Subject Teacher Head of the Department Principal

You might also like