Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Needed in Java code, Thank you. ne Work Details: * Create a class named CollegeCourse that includes data fields that hold the department (example ENG),

image text in transcribed Needed in Java code, Thank you.
ne Work Details: * Create a class named CollegeCourse that includes data fields that hold the department (example ENG), the course number (example 101), the credits (example 3) and a fee for the course (example $360). All of the fields are required as arguments to the constructor, except for the fee, which is calculated at $120 per credit hour. Include a display() method that displays the course data. Create a subclass named LabCourse that adds $50 to the course fee. Override the parent class display) method to indicate that the course is a lab course and to display all the data. Write an application named UseCourse that prompts the user for course information. It may be better if you provide with choices for the user. * If the user enters a class in any of the following departments, create a * If the user enters any other department, create a CollegeCourse that does & Display the course data in a readable format. LabCourse: BIO, CHM, CIS, or PHY not include the lab fee. * Submit a minimum of 3 .java files (CollegeCourseXXX.java, LabCourseXXX.java, UseCourseXXX.java where XXX denotes your last name followed by first initial)

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image_2

Step: 3

blur-text-image_3

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Advances In Spatial And Temporal Databases 8th International Symposium Sstd 2003 Santorini Island Greece July 2003 Proceedings Lncs 2750

Authors: Thanasis Hadzilacos ,Yannis Manolopoulos ,John F. Roddick ,Yannis Theodoridis

2003rd Edition

3540405356, 978-3540405351

More Books

Students also viewed these Databases questions

Question

Draw the major products for these reactions. NeOHNaOMe

Answered: 1 week ago

Question

Identify the elements that make up the employee reward package.

Answered: 1 week ago

Question

Understand the purpose, value and drawbacks of the interview.

Answered: 1 week ago