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 AlumnusExplanation / 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
Related Questions
drjack9650@gmail.com
Navigate
Integrity-first tutoring: explanations and feedback only — we do not complete graded work. Learn more.