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

Design and declaration. All classes\' data fields should he private. Design an a

ID: 675540 • Letter: D

Question

Design and declaration. All classes' data fields should he private. Design an abstract class named Person and its two subclasses named Student and Employee. Person has as abstract method printInfo(). Employee is an abstract class. Make Faculty subclasses of Employee, and Employee has a salary, default 0 Person has data fields: name. Default: name is "unknown". Student has a data field: age. default 0; email address, default, "none" Faculty has a data field: dept, default is "none". Implementation: Implement necessary' constructor, accessor and mutator methods for all classes. Write a test program to create two Students and two Faculties, assign (not read from console) the following information, and invokes their printlnfo methods, xxxx is your Kean ID. Your program output should look like below: This project should be coded in ONE java file.

Explanation / Answer

CODE :

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