Page 1 of 1

Write a C++ program that implements the given class hierarchy. Person Student Employee Teaching Assistant A Teaching Ass

Posted: Fri May 20, 2022 12:24 pm
by answerhappygod
Write A C Program That Implements The Given Class Hierarchy Person Student Employee Teaching Assistant A Teaching Ass 1
Write A C Program That Implements The Given Class Hierarchy Person Student Employee Teaching Assistant A Teaching Ass 1 (48.25 KiB) Viewed 42 times
Write a C++ program that implements the given class hierarchy. Person Student Employee Teaching Assistant A Teaching Assistant is an employee and a student. Both employee and student are persons. Person is an abstract class. Person has a name, age, gender, education, language he speaks, etc. Since Person is an abstract class so make virtual functions. Students have gpa, semester, field, etc. Employees have salary, rank like HOD or dean or assistant professor) etc UBS IJU INFORMATION TECHNOLOGY UNIVERSITY Following methods should be implemented: - Copy constructor - Deep copy constructor - Dectructor - Function overriding - Initializer List - Deleting pointers - DisplayO and setter/getter - Make a menu driven code. Note: Do not use strings. User char pointers instead.