
You need to keep record of under- graduate, PhD students, faculty and staffs of your institute. Write an abstract class Person with the following attributes and method 1. Attribute Name: String 2. Attribute Address: String 3. Method Get_info() returns information of the person Extend class Person to Student, Student to Grad_student & PhD _student. Student has a roll no field, Grad_student has a course list field and PhD _student has a research field. Extend class Person to Employee, Employee to Faculty and Staff. Employee has Empno field and Faculty has a coursetaken field and staff has incharge field. Write constructor for all the classes, and override method Get_info() for all the classes. Create a TA class which is derived from PhD_ student and Faculty class.
If you are facing any programming issue, such as compilation errors or not able to find the code you are looking for.
Ask your questions, our development team will try to give answers to your questions.