Java
Posted: Sat May 14, 2022 7:43 pm
Java
1. An inheritance principle is used to explore and extend the Course class. The UML of the Course is presented below: Course : courseName : String sectionNumber : int instructorName : String numberofstudentsEnrolled int #Course #Course (courseName : String) #Course (courseName String, şection Number: int, instructorName : String) +getCapacity : int +getCourseNamel): String +setCourseName (courseName : String) : void +get SectionNumber() int +setSection Number (sectionNumöer : int) : void +getInstructorName); String +set InstructorNameOnstructorName : String) void +getNumberoistudentsEnrolledo int +toString(): string Part 1.1. Implement the abstract class Course strictly according to its UML one-to-one (do not include anything extra, do not miss any data field or methods). : Add comments to your program and mark where data fields, constructors, getters, setters and festciogl) are located and which method is abstract or static (if any).
1. An inheritance principle is used to explore and extend the Course class. The UML of the Course is presented below: Course : courseName : String sectionNumber : int instructorName : String numberofstudentsEnrolled int #Course #Course (courseName : String) #Course (courseName String, şection Number: int, instructorName : String) +getCapacity : int +getCourseNamel): String +setCourseName (courseName : String) : void +get SectionNumber() int +setSection Number (sectionNumöer : int) : void +getInstructorName); String +set InstructorNameOnstructorName : String) void +getNumberoistudentsEnrolledo int +toString(): string Part 1.1. Implement the abstract class Course strictly according to its UML one-to-one (do not include anything extra, do not miss any data field or methods). : Add comments to your program and mark where data fields, constructors, getters, setters and festciogl) are located and which method is abstract or static (if any).