Question #2: Given the following class diagram: Paid Person Employee (9 Points) Person: Abstract class Paid: interface A
-
- Posts: 43759
- Joined: Sat Aug 07, 2021 7:38 am
Question #2: Given the following class diagram: Paid Person Employee (9 Points) Person: Abstract class Paid: interface A
Question #2: Given the following class diagram: Paid Person Employee (9 Points) Person: Abstract class Paid: interface Academic: interface Employee: Abstract class Teacher: concrete class Student: Concrete class Administrative: Concrete class Administrati Teacher ve Implement all of the classes and interfaces shown in the diagram taking into account the followings: 1- In each interfaces there must be at least two methods 2- In every class there must be at least 4 methods and 3 data fields 3- In every abstract class there must both types of methods (abstract and implemented) 4- Define a driver class and define the following static methods: a. A Method that receives an array of persons and displays every person class name. b. A Method that receives an array of Paid and displays a table of names and classnames and salaries c. A method that receives an Array of Acadimic and sort it based on rank such that all techers must appear before any student. Student Academic