Implement a super class person make two classes student and


Implement a super class Person. Make two classes, Student and Instructor that inherit from Person. A person has a name and a year of birth. A student has major and the instructor has a salary. Write the class declarations, the constructors, and the methods to String for all classes. Write a test program that tests these classes and methods.

Solution Preview :

Prepared by a verified Expert
Basic Computer Science: Implement a super class person make two classes student and
Reference No:- TGS01261126

Now Priced at $20 (50% Discount)

Recommended (94%)

Rated (4.6/5)