Question: Creating Inheritance for a University Application. Suppose you are asked to create a university application where the following entities will be represented. 1. PartTimeStudent FirstName,

Creating Inheritance for a University Application. Suppose you are asked to create a university application where the following entities will be represented. 1. PartTimeStudent FirstName, LastName, SSNum, Test1, Test2, Street Address, City, Telephone ComputeGrade method with 0.4*Test1 + 0.6 * Test2 2. UnderGradStudent FirstName, LastName, ID, Test1, Test2, Street Address, City, Telephone ComputeGrade method with 0.45*Test1 + 0.55 * Test2 3. GradStudent FirstName, LastName, ID, Test1, Test2, Thesis, Street Address, City, Telephone ComputeGrade method with 0.45*Test1 + 0.55 * Test2 4. PhDStudent FirstName, LastName, ID, Test1, Test2, PhdAdvisor,Street Address, City, Telephone ComputeGrade method with 0.3*Test1 + 0.7 * Test2 5. LabManager FirstName, LastName, EmpID, Department, Street Address, City, Telephone 6. FullTimeFaculty FirstName, LastName, EmpID, Department, Rank, Street Address, City, Telephone (Rank could be Assistant, Associate or Full Professor) 7. PartTimeFaculty FirstName, LastName, SSNum, Department, Street Address, City, Telephone 8. Secretary FirstName, LastName, EmpD, Department, Street Address, City, Telephone Create appropriate class hierarchy for the above requirements by introducing base classes. Provide constructors and ToString methods for each class. Include appropriate keywords of virtual, abstract, override, public, and protected wherever applicable. Create a UML diagram for the overall class hierarchy through Visual Studio.

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!