Write Program Instructions Given Create Class Named College Course Includes Data Fields Ho Q37157418

write a program for the instructions given below:

Create a class named College Course that includes data fieldsthat hold the department (for example, ENG), the course number (forexample, 101), the credits (for example, 3), and the fee for thecourse (for example, $360). All of the fields are required asarguments to the constructor, except for the fee, which iscalculated at $120 per credit hour. Include a display () methodthat displays the course data. Create a subclass named Lab Coursethat adds $50 to the course fee. Override the parent class display() method to indicate that the course is a lab course and todisplay

OR
OR

Leave a Comment

This site uses Akismet to reduce spam. Learn how your comment data is processed.