Question: Hello, please implement the php script that will perform the following Objects.php Create a PHP script that will perform the following tasks. Sub-Task 1: Define

Hello, please implement the php script that will perform the following

Hello, please implement the php script that will perform the following Objects.phpCreate a PHP script that will perform the following tasks. Sub-Task 1:

Objects.php Create a PHP script that will perform the following tasks. Sub-Task 1: Define an interface Employee with a method display EmployeeInfo(). Sub-Task 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 displayEmployee Info() to display the properties of each object instance. Sub-Task 3: Define a derived class Manager that inherits from the Management class and contains a private property: adminLevel. You may need to override the constructor and displayEmployeeInfo method for this derived class. Sub-Task 4: 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 display EmployeeInfo() to display the properties of each object instance. Sub-Task 5: Define a derived class IT Specialist that inherits from the Development class and contains a private property: projectAssigned. You may need to override the constructor and displayEmployeeInfo() method for this derived class. Sub-Task 6: Instantiate (Create) at least two objects of Manager and display the properties of each object instance. Sample output is as follows: Manager SIN: 123456789, Age: 45, Salary: 110000 , Admin Level: MG-06 SIN: 987654321. Age: 55. Salary: 120000. Admin Level: MG-07 Sub-Task 7: Instantiate (Create) at least two objects of ITSpecialist and display the properties of each object instance. Sample output is as follows: IT Specialist SIN: 567451234, Age: 35, Salary: 100000, Assigned Project: TASR SIN: 234451234. 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!