Page 1 of 1

JAVA

Posted: Sat May 14, 2022 7:45 pm
by answerhappygod
JAVA
Java 1
Java 1 (21.47 KiB) Viewed 34 times
CPS 2231 Part 1.2. Write a subclass of course, called a Hybrid Course. The UML of the Hybrid Course is presented below: HybridCourse web : : percent offgemoteLearning int +Hybridcourseo +HybridCourse (courseName String, section Number flit, instructorName, String, percentofRemote Learning : int) +getCapacity () : int +getEercentofRemoteLearningo; int +set Percent ofRemoteLearning (percent ofRemoteLearning : int) void +toStrial): String Override the getCapasitve method, so it returns a number 40. Add comments to your class. . Note: No methods should have any empty bodies in the definition.