Academic Integrity: tutoring, explanations, and feedback — we don’t complete graded work or submit on a student’s behalf.

Java computer programming question help! Thank you so much! Consider a software

ID: 3836400 • Letter: J

Question

Java computer programming question help! Thank you so much!

Consider a software that will implement the following classes: Student, Professor, Staffmember, and contractWorker. List some common attributes of these classes (list at least 4 common attributes) What would be a good abstract class (not one of the four listed) from which these classes may be extended via inheritance that would contain the common attributes? List this class and draw the inheritance hierarchy

This is not java code but a inheriance hierarchy illustration please illustrate a inheritance hierachy given the information above, bellow is a inheritance hierachy java example

Explanation / Answer


Employee class can be the abstract class of all these four classes

    Employee:
        - first name
        -last name
        - SSN
        - age

    These four are the common attribures for all employee type

                                        Employee
                                        |
        ---------------------------------------------------------------------------
    | | | |
    Student Professor Staffmember contractWorker

Hire Me For All Your Tutoring Needs
Integrity-first tutoring: clear explanations, guidance, and feedback.
Drop an Email at
drjack9650@gmail.com
Chat Now And Get Quote