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 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
Get step-by-step solutions from verified subject matter experts
