A simple Java console-based application for managing employee records using Object-Oriented Programming (OOP) concepts and Java Collections Framework.
Employee Management System is a menu-driven console application developed in Java. The application allows users to perform various employee management operations such as adding employees, viewing employee details, searching employees, updating salaries, and deleting employee records.
This project was created to strengthen the understanding of Java fundamentals, OOP principles, collections, and basic CRUD operations.
- Add new employees
- View all employee records
- Search employee by Employee ID
- Update employee salary
- Delete employee records
- Prevent duplicate Employee IDs
- User-friendly menu-driven interface
- Uses Java ArrayList for data storage
- Java
- Object-Oriented Programming (OOP)
- Java Collections Framework (ArrayList)
- VS Code
EmployeeManagementSystem
│
├── src
│ ├── Employee.java
│ ├── HR.java
│ └── Main.java
│
├── README.md
└── .gitignore
Represents an employee object and contains:
- Employee ID
- Employee Name
- Employee Salary
Methods:
- getEmpId()
- getEmpName()
- getSalary()
- setSalary()
- toString()
Responsible for managing employee records.
Operations:
- Add Employee
- View Employees
- Search Employee
- Update Salary
- Delete Employee
Uses ArrayList for storing employee data.
Contains the application entry point and menu-driven user interface.
Users can interact with the system through console options.
git clone <repository-url>cd EmployeeManagementSystemjavac src/*.javajava -cp src Main===== Employee Management System =====
1. Add Employee
2. View Employees
3. Search Employee
4. Update Employee Salary
5. Delete Employee
6. Exit
Through this project, the following concepts were practiced:
- Classes and Objects
- Encapsulation
- Constructors
- ArrayList
- CRUD Operations
- Method Design
- User Input Handling using Scanner
- Java Collections Framework
- Console-Based Application Development
- File Handling
- Database Integration (MySQL)
- Exception Handling
- Employee Sorting
- Employee Filtering
- Spring Boot REST APIs
- Web-Based User Interface
- Authentication and Authorization
Indira Priyadarsini Nayak
Java Developer Enthusiast
GitHub: Indira Priyadarsini Nayak