JPR Java Programming 22412 Msbte Microproject - Msbte Micro Projects - I Scheme
JPR Java Programming 22412 Msbte Microproject - Msbte Micro Projects - I Scheme
/ -->
✕ Close
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
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
✕
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
Plan Name of
Sr.
Detail of activity start Plan finish date responsible ✕
No.
date team members
3 of 12 4/14/23, 11:30
JPR Java Programming 22412 MSBTE MicroProject - MSBTE... https://www.msbtemicroproject.tech/2023/01/JPR-Java-Pro...
Prepare a report on it
5
using MS word
annexure-II
Micro-Project Report
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.
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.
5. Exit
Code
JAVA
import java.util.Scanner; ✕
class BankDetails {
private
Home String accno;
Search Menu Dark Share
5 of 12 4/14/23, 11:30
JPR Java Programming 22412 MSBTE MicroProject - MSBTE... https://www.msbtemicroproject.tech/2023/01/JPR-Java-Pro...
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);
}
}
Output 1 ✕
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
9 of 12 4/14/23, 11:30
JPR Java Programming 22412 MSBTE MicroProject - MSBTE... https://www.msbtemicroproject.tech/2023/01/JPR-Java-Pro...
1. Teamwork
2. Communication skills
3. Successfully created a mini banking application using Java programming.
10 of 12 4/14/23, 11:30
JPR Java Programming 22412 MSBTE MicroProject - MSBTE... https://www.msbtemicroproject.tech/2023/01/JPR-Java-Pro...
Rate this article
Getting Info...
You may like these posts ✕
11 of 12 4/14/23, 11:30
JPR Java Programming 22412 MSBTE MicroProject - MSBTE... https://www.msbtemicroproject.tech/2023/01/JPR-Java-Pro...
Post a Comment
• Micro Project PDF
Copyright ©2023 ‧ MSBTE MICRO PROJECTS - I SCHEME - All rights reserved.
--->
-->
12 of 12 4/14/23, 11:30