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: 3836298 • 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, bellow is a java example

Administrator Employee Faculty Teacher CommunityMember Student Staff Alumnus

Explanation / Answer

Given Classes are Student, Professor, staff member, Contractor Worker.

So, Let us consider the common attributes be Name, ID, Address, Phone Number.

And the class which consists all these common attributes be “Person Details of Community member”.

And in the hierarchy diagram, this class derives from all the four classes

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