Question: Write an abstract class in Java named Person that must contain name , surname and date of birth as characteristics.Write two other classes Student and

Write an abstract class in Java named Person that must contain name , surname and date of birth as characteristics.Write two other classes Student and Employee that inherit from the class Person .
Then write an interface that contain the road,the postal ode and city that must be implemented by the classes Person,Employee and Student above.
(ps.This is what our teacher asked us to do ..I hope you ubderstand the question)

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!