JAVA (Eclipse-Workspace)
Create a University application based on inheritance where the following entities will be represented: 1. UndergraduateStudent: has fields First name, Last name, Student Id, Test1 score, Test2 score, Street address, City, Telephone, and a ComputeGrade() method where the average score is computed using the formula \( 0.4^{*} \mathrm{Test} 1+0.6^{*} \mathrm{Test} 2 \) 2. GraduateStudent: has fields First name, Last name, Student Id, Test1 score, Test2 score, Thesis, Street address, City, Telephone, and a ComputeGrade() method where the average score is computed using the formula \( 0.5^{*} \) Test \( 1+0.5^{*} \) Test2 3. PartTimeStudent: has fields First name, Last name, Social Security Number, Test1 score, Test2 score, Street address, City, Telephone, and a ComputeGrade() method where the average score is computed using the formula \( 0.3^{*} \) Test \( 1+0.7^{*} \) Test 2 Create the appropriate class hierarchy for the above requirements by introducing base classes and derived classes. Include appropriate keywords of abstract, protected wherever applicable. Also draw the UML diagram showing the class hierarchy. Submit the code and the UML diagram.