Cse PR 1
Cse PR 1
Project Report
Course Title: OOP Lab
Course Code: CSE 202
Section: D1
Student Data
NAME: MD SAKIB HASAN EMON
Student ID: 222902026
Department of CSE (PC)
Green University of Bangladesh
Teachers Evolution
Teacher’s Name:
Submission Date:
Signature:
Marks:
Chapter 1 Introduction................................................................................................................................................ 3
1.1 Introduction............................................................................................................................................................ 3
1.2 Design Goals/Objective........................................................................................................................................ 3
Chapter 2 Design/Development/Implementation of the Project.............. 4
2.1 Section (Choose the name of this section as appropriate with your project)................................................ 4
2.2 Section (Choose the name of this section as appropriate with your project)..................................................
Chapter 3 Performance Evaluation.......................................................................................................................... 5
3.1 Simulation Environment/ Simulation Procedure.............................................................................................. 5
3.2 Results and Discussions....................................................................................................................................... 5
Chapter 4 Conclusion................................................................................................................................................... 6
4.1 Introduction............................................................................................................................................................ 6
4.1 Practical Implications........................................................................................................................................... 6
4.2 Scope of Future Work........................................................................................................................................... 6
1.1 Introduction:
The Employee Management System project in Java is designed to streamline workforce
management within an organization. This comprehensive system facilitates efficient
handling of employee data, including personal information, attendance records, and
performance metrics. With user-friendly interfaces, it enables administrators to easily
manage employee profiles, track working hours, and generate insightful reports. The project
aims to enhance organizational efficiency by providing a centralized platform for HR tasks,
fostering seamless communication, and ensuring effective resource utilization.
1.1 Objective:
The objective of the Employee Management System project in Java is to develop a
comprehensive and user-friendly application for efficient and automated management of
employee information. This system aims to streamline HR processes by providing
functionalities such as employee record maintenance, attendance tracking, performance
evaluation, and payroll management. Through a secure and intuitive interface, the project
seeks to enhance organizational productivity, data accuracy, and overall workforce
management.
2.1 Design/Development:
The provided Java program is an Employee Management System (EMS) with basic
functionalities like adding, viewing, removing, and updating employee details. Here's a step-
by-step breakdown:
import java.util.*;
class MainMenu {
public void menu() {
System.out.println("\t\t*******************************************");
System.out.println("\t\t\t EMPLOYEE MANAGEMENT SYSTEM");
System.out.println("\t\t*******************************************");
System.out.println("\t\t\t --------------------");
System.out.println("\t\t\t @Emon");
System.out.println("\t\t\t --------------------");
System.out.println("\n\nPress 1 : To Add an Employee Details");
System.out.println("Press 2 : To See an Employee Details ");
System.out.println("Press 3 : To Remove an Employee");
System.out.println("Press 4 : To Update Employee Details");
System.out.println("Press 5 : To See All Employee Details");
System.out.println("Press 6 : To Exit the EMS Portal");
}
}
if (!employeeList.contains(emp)) {
employeeList.add(emp);
System.out.println("\nEmployee has been Added :)\n");
} else {
System.out.println("\nEmployee already exists :(");
}
@Override
public int hashCode() {
return Objects.hash(employ_id);
}
}
/* To Remove Employee */
class Employee_Remove {
public void removeEmployee(List<EmployDetail> employeeList, String ID) {
EmployDetail emp = new EmployDetail();
emp.employ_id = ID;
if (employeeList.contains(emp)) {
employeeList.remove(emp);
System.out.println("\nEmployee has been removed Successfully");
} else {
System.out.println("\nEmployee does not exist :(");
}
}
}
/* Main Class */
class EmployManagementSystem {
public static void main(String arv[]) {
/** To clear the output Screen **/
System.out.print("\033[H\033[2J");
int i = 0;
switch (i) {
case 1: {
/** Creating class's object and calling Function using that object **/
Employee_Add ep = new Employee_Add();
ep.addEmployee(employeeList);
System.out.print("\033[H\033[2J");
obj1.menu();
break;
}
case 2: {
System.out.print("\nPlease Enter Employee's ID :");
String s = sc.nextLine();
EmployDetail emp = new EmployDetail();
emp.employ_id = s;
if (employeeList.contains(emp)) {
epv.viewEmployee(employeeList.get(employeeList.indexOf(emp)));
} else {
System.out.println("\nEmployee does not exist :(");
}
1.Add an Employee:
Choose option 1.
Enter employee details as prompted (name, ID, email, position, salary).
Choose option 2.
Enter the Employee ID whose details you want to see.
3.Remove an Employee:
Choose option 3.
Enter the Employee ID you want to remove.
4.Update Employee Details:
Choose option 4.
Enter the Employee ID whose details you want to update.
Choose the field to update (Name/Email/Position/Salary).
Enter the new value for the selected field.
4 .1 Conclusion:
In conclusion, the Employee Management System project in Java successfully streamlines
HR processes, enhancing organizational efficiency. Its user-friendly interface simplifies
employee data management, payroll, and leave tracking. The system promotes accuracy and
transparency, reducing manual errors and ensuring compliance. With robust security
features, it safeguards sensitive information. Overall, the project demonstrates the potential
of Java in developing comprehensive and reliable solutions for effective employee
management within modern workplaces.