Question: b) Write a Java application class that uses the concept of polymorphism to perform the following tasks: i) Declare an array of staff object; where

 b) Write a Java application class that uses the concept ofpolymorphism to perform the following tasks: i) Declare an array of staff

b) Write a Java application class that uses the concept of polymorphism to perform the following tasks: i) Declare an array of staff object; where the number of object is prompted to user to enter the size of array. (2 marks) ii) Display the salary payment for every staff. (3 marks) iii) Calculate and display the total salary paid for all academic staff and all administrative staff

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!