Question: ASAP CPS 2231 Lab 8 Assignment (Abstract class) Redesign Lab7 as below, write a program which will produce a report with the following requirements: 1.

ASAP
 ASAP CPS 2231 Lab 8 Assignment (Abstract class) Redesign Lab7 as
below, write a program which will produce a report with the following

CPS 2231 Lab 8 Assignment (Abstract class) Redesign Lab7 as below, write a program which will produce a report with the following requirements: 1. Note: Student is an abstract class, and computeGrade) is an abstract method. Student -studentld: int -firstName: String -lastName: String -email: String -testScore: double Student(int id, String fname, String Iname, Rea GradCourses + setResearchTopic(String topic): void String email, double testScore +computeGrade0 String cs UnderGradStudent CS GradStudent +STUDENT TYPE: String CS_UnderGradstudent( nt id, String fname, String Iname, String email, double testScore STUDENT TYPE: String CS_Gradstudent int id, String fname, String Iname, String email, double testScore +computeGrade0:String +computeGradeO: String +toString0: String 2. Modify Student class with the following requirements a. Change Student class to an abstract class. b. Change computeGrade0 method to an abstract method. 3. Write an interface Req GradCourses with setResearchTopicO method. 4. Rewrite CS GradStudent class to a. Add one data field reserachTopic b. extend Student class and implement Req GradCourses interface c. define setResearchTopic0 method to take the parameter and assign to the researchTopic datafield. d. Rewrite toString0 method to include rearchTopic to the exist returning string. a. Create two CS UnderGradStudent object and one CS GradStudent object. (Note: Hard 5. xxxx Lab8 class: main method: code the information in java source code which means no input from keyboard.) b. Set the Research Topic for the CS GradStudent obiect

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!