You are on page 1of 12

JPR Java Programming 22412 MSBTE MicroProject - MSBTE... https://www.msbtemicroproject.tech/2023/01/JPR-Java-Pro...

/ -->
✕ Close

Micro project pdf maker Pdf maker सव� सरकारी योजना टे �ल�ाम चॅनल जॉईन करा ✕

Home

Civil

Computer

Electrical

Mechanical

All formats

Request Project

Micro Project Pdf

Word To Pdf

PPT to Pdf

Compress Pdf

Pdf Page Numbering

Partner sites


Sitemap · Disclaimer

Home Search Menu Dark Share

1 of 12 4/14/23, 11:30
JPR Java Programming 22412 MSBTE MicroProject - MSBTE... https://www.msbtemicroproject.tech/2023/01/JPR-Java-Pro...

Home / cs fourth sem

JPR Java Programming 22412 MSBTE


MicroProject
suraj January 31, 2023 · 15 min read

 JPR Java Programming 22412 MSBTE


MicroProject 

JPR Java Programming 22412 MSBTE MicroProject 

program Name and Code: JPR Java Programming 22412


Course Name and Code: CS 2I
Home Search Menu Dark Share

Academic Year : 

2 of 12 4/14/23, 11:30
JPR Java Programming 22412 MSBTE MicroProject - MSBTE... https://www.msbtemicroproject.tech/2023/01/JPR-Java-Pro...

Semester: Second 

Annexure-I

A MICRO PROJECT ON " Banking Application in Java"

1.0   Aims/Benefits of the micro project

• 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.

2.0   Course outcome addressed.

a. Develop programs using Object Oriented methodology in Java. 


b. Apply the concept of inheritance for code reusability

3.0 Proposed methodology

1. Focused on the selection of an appropriate topic for the micro-project.


2. Select the topic i.e. To Prepare a report on a mini-banking application in Java.
3. Brief study on our topic.
4. Gather all information based on the topic of the micro project.
5. Analysis and study of our topic in detail.
6. Following all the above methodologies we successfully completed our microproject.

4.0 Action Plan

Plan Name of
Sr.
Detail of activity start Plan finish date responsible ✕
No.
date team members

Home Search Menu Dark Share

3 of 12 4/14/23, 11:30
JPR Java Programming 22412 MSBTE MicroProject - MSBTE... https://www.msbtemicroproject.tech/2023/01/JPR-Java-Pro...

Searching the topic for


1
micro-project

related post: Microprocessors


collect information from
2 (22415) Diploma Micro Project
the internet and textbook
I Scheme MSBTE.

collect information from


the JPR Java
3 Programming 22412 
Manual reference book &
Manual.

arrange all information in


4
ms word

Prepare a report on it
5
using MS word

6 print micro project

5.0 Resources used

Sr. no. Name of resource material Specifications Quantity

1 Computer System 16 GB RAM, Windows 11 OS 1

2 Internet Youtube / geek4geek

3 textbook/manual JPR Java Programming 22412  1

annexure-II
Micro-Project Report

A MICRO PROJECT ON " Banking Application in Java" ✕

Home Search Menu Dark Share


1.0 Brief Introduction/Rationale

4 of 12 4/14/23, 11:30
JPR Java Programming 22412 MSBTE MicroProject - MSBTE... https://www.msbtemicroproject.tech/2023/01/JPR-Java-Pro...

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.

Mini Banking Application Using Java Programming

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.

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

Code

JAVA

import java.util.Scanner; ✕
class BankDetails {
private
Home String accno;
Search Menu Dark Share

private String name;

5 of 12 4/14/23, 11:30
JPR Java Programming 22412 MSBTE MicroProject - MSBTE... https://www.msbtemicroproject.tech/2023/01/JPR-Java-Pro...

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);
Home Search Menu Dark Share
}

6 of 12 4/14/23, 11:30
JPR Java Programming 22412 MSBTE MicroProject - MSBTE... https://www.msbtemicroproject.tech/2023/01/JPR-Java-Pro...

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
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;
Home Search Menu Dark Share
for (int i = 0; i < C.length; i++) {

7 of 12 4/14/23, 11:30
JPR Java Programming 22412 MSBTE MicroProject - MSBTE... https://www.msbtemicroproject.tech/2023/01/JPR-Java-Pro...

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);
}
}

related post: Software Engineering (22413) Diploma Micro Project I Scheme.

Output 1 ✕

Home Search Menu Dark Share

8 of 12 4/14/23, 11:30
JPR Java Programming 22412 MSBTE MicroProject - MSBTE... https://www.msbtemicroproject.tech/2023/01/JPR-Java-Pro...

Output 2


2.0  Actual Resources Use

Home Search Menu Dark Share

9 of 12 4/14/23, 11:30
JPR Java Programming 22412 MSBTE MicroProject - MSBTE... https://www.msbtemicroproject.tech/2023/01/JPR-Java-Pro...

Sr. no. Name of resource material Specifications Quantity

1 Computer System 8 GB RAM, Windows 11 OS 1

2 Internet Youtube / Geek4geek

3 textbook/manual  JPR Java Programming 22412  1

3.0 Skill Developed

1. Teamwork 
2. Communication skills 
3. Successfully created a mini banking application using Java programming.

4.0 Outputs of the Micro-Project

Home Search Menu Dark Share

10 of 12 4/14/23, 11:30
JPR Java Programming 22412 MSBTE MicroProject - MSBTE... https://www.msbtemicroproject.tech/2023/01/JPR-Java-Pro...

MSBTE Micro project formats

Buy this microproject pdf

Rate this article

Getting Info...

Share: Facebook Whatsapp Twitter

You may like these posts ✕

Home Search Menu Dark Share

11 of 12 4/14/23, 11:30
JPR Java Programming 22412 MSBTE MicroProject - MSBTE... https://www.msbtemicroproject.tech/2023/01/JPR-Java-Pro...

No image No image No image

DCC (22414) Data Data Communication and DMA (22416) Database


Communication And Computer Network DCC Management Diploma
Computer Network… (22414) micro project I… Micro Project

No image No image No image

MSBTE Software micro project I scheme DCC ETI Emerging Trends In


Engineering (22413) Data Communication and Computer And Information
Diploma Micro Project Computer Network. Technology (22618) Diplo…

Post a Comment

• Micro Project PDF

Copyright ©2023 ‧ MSBTE MICRO PROJECTS - I SCHEME - All rights reserved.

--->
-->

Home Search Menu Dark Share

12 of 12 4/14/23, 11:30

You might also like