Question: This needs to be written in PHP Language! 1. Define an interface Employee with a method displayEmploveeInfoo 2. Define a class Management which implements Employee

This needs to be written in PHP Language!

This needs to be written in PHP Language! 1. Define an interface

1. Define an interface Employee with a method displayEmploveeInfoo 2. Define a class Management which implements Employee interface and contains protected properties: sin, age, salary. Create a constructor method that takes in sin, age, and salary Implement the method displayEmploveelnfo0 to display the properties of each object nstance Define a derived class Manager that inherits from the Management class and contains a private property: adninLevel You may need to override the constructor and displayEmploveelnfo0 method for this derived class. Define a class Development which implements Employee interface and contains protected properties: sin, age, salary. Create a constructor method that takes in sin, age, and salary Implement the method displayEmploveelnfo0 to display the properties of each object nstance Define a derived class ITSpecialist that inherits from the Development class and contains a private property: projectAssigned. You may need to override the constructor and displayEmploveelnfo0 method for this derived class. Instantiate (Create) at least two objects of Manager and display the properties of each object instance. Sample 3. 4. 5. 6. is as follows Manager SIN: 123456789, Age: 45, Salary: 110000, Admin Level: MG-06 SIN: 987654321, Age: 55, Salary: 120000, Admin Level: MG-07 Instantiate (Create) at least two objects of ITSpecialist and display the properties of each obiect instance. Sample 7. is as follows ecialist 67451234, Age: 35, Salary: 100000 , Assigned Project: T1SR 34451234, Age: 30, Salary: 90000 , Assigned Project: HIMS

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!