USE OOP #1 Code typed out – public interface CourseActivity {… Image transcription text. Implement the following diagram 21 <> P

USE OOP #1 Code typed out – public interface CourseActivity {… Image transcription text. Implement the following diagram 21 <> Person<>… Show more… Show moreImage transcription text1 . Interface CourseActivity and DerivedClass Course <>public interface CourseAc… Show more… Show moreImage transcription text2 . Abstract Class Person and DerivedClass Student <>public abstract class Per… Show more… Show moreImage transcription text3 . Class Question3 and Mainmethod public class Question3 {public static ArrayList&l… Show more… Show moreImage transcription text- Test Data – take all information belowand construct the Student and CourseObjects … Show moreImage transcription text. Expected Output Name : John DOB :03/01/2002 ID : 1001 Credits: 9 CourseID CISO1 Name : C++ Sco… Show more… Show moreUSE OOP#1 Code typed out -public interface CourseActivity {void decideGrade();// Based on the scores, // determine the letter grade ‘A’, ‘B’, and so on.// There is no strict rule to implementvoid printCourseinfo();// Print the brief Course information// Any code segment is fine to print information.}public class Course implements CourseActivity { // Class Properties // Member Methods // Implement the inherited methods from the interface }  #2 Code typed out – public abstract class Person {// Member Variables// Constructor, and Member methods if needed// Abstract Method PrintPerson() ;}public class Student extends Person { // Member Variables// Constructor, and Member methods if needed// Implement the inherited abstract method// print the brief information for the student// no particular requirement to implement this inherited method} #3 Code typed out – public class Question3 {public static ArrayList fillupStudent() throws FileNotFoundException { ArrayList slist = new ArrayList();// Your codereturn slist;} public static void printStudent(ArrayList slist) {for (int i = 0; i < slist.size(); i++) {System.out.println(slist.get(i));}} public static void main(String[] args) throws FileNotFoundException {ArrayList slist; slist = fillupStudent();printStudent(slist);// More code to test the methods in each Class Object}}    Computer Science Engineering & Technology Java Programming CIS 234 Share QuestionEmailCopy link