Question: Project 2 : Employee Management System Problem Statement: You need to develop an Employee Management System where the base class ( superclass ) Employee stores
Project : Employee Management System
Problem Statement:
You need to develop an Employee Management System where the base class superclass Employee stores general employee information such as name, age, and salary. Additionally, create a subclass Manager that inherits from Employee and adds specific information about managers, such as their department and bonus.
Objectives:
Use inheritance between Employee and Manager.
Implement constructors for both classes.
Use public and private data members.
Demonstrate the this keyword in constructors to differentiate between instance variables and parameters.
WRITE A JAVA PROGRAM
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
