3 People Java Group Project Features
This EMS application provides basic CRUD (Create, Read, Update, Delete) functionalities for managing employees:
Add New Employee
Allows the user to add a new employee by entering their ID, name, department, and salary.
Ensures unique employee IDs.
View All Employees
Displays a formatted list of all employees currently in the system.
Includes ID, Name, Department, and Salary.
View Employee by ID
Allows the user to search and view a specific employee’s details by their ID.
Update Employee Details
Enables updating an employee’s name, department, and salary.
Provides option to keep current details if no changes are required.
Delete Employee by ID
Removes an employee from the system using their ID.
How to Run
Follow these steps to run the EMS application:
Requirements
Java Development Kit (JDK) 8 or higher installed.
Command-line interface (CLI) or IDE like Eclipse, IntelliJ IDEA, or VS Code with Java support.
Compile the Code Open terminal/command prompt in the directory containing Main.java and run:
javac Main.java
Run the Application After compilation, run the program using:
java Main
Using the Application
A menu will appear with options 1–6.
Enter the number corresponding to the action you want to perform.
Follow the prompts to add, view, update, or delete employee records.
Exit Application
Safely exits the application.