🏢 Personnel Management System
Course: Object-Oriented Programming in JAVA Lab (BCA39109)
This project is a Java-based console application designed to calculate and manage employee salaries. It serves as a practical demonstration of advanced Object-Oriented Programming (OOP) concepts.
- Inheritance: The system uses a base
Employeeclass, which shares common attributes (like Name and ID) with its specific subclasses (FullTimeEmployeeandPartTimeEmployee). - Method Overriding: Each subclass provides its own specific implementation of the base
calculateSalary()method (e.g., fixed monthly salary vs. hourly rate × hours worked). - Method Overloading: The system features a
calculateSalary(double bonus)method, demonstrating how multiple methods can share the same name but accept different parameters to calculate total compensation.
To run this program, you will need the Java Development Kit (JDK) installed on your system.
- Open your terminal or command prompt.
- Navigate to the directory where the file is saved.
- Compile the Java file: