Posted: November 16th, 2022

Cis 407 week 1 lab 2: exercise 8 on page 541 of your text

Due in Week1 and worth 20 points

Save Time On Research and Writing
Hire a Pro to Write You a 100% Plagiarism-Free Paper.
Get My Paper

Complete the weekly labs based on the following:

  • Write the code for each lab assignment.
  • The lab is to be submitted in a single zip file in the online course shell, which must contain all .java files, along with any additional files that may be necessary for your project to run (ex: text files). 
  • Any and all written answers must be entered into the online course shell with the submission of the attached lab assignment.

8.  Create a class named CollegeCourse that includes data fields that hold the department (for example, ENG), the course number (for example, 101), the credits (for example, 3), and the fee for the course (for example, $360).  All fo 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 for course information.  If the user enters a class in any of the following departments, create LabCourse: BIO, CHM, CIS, or PHY.  If the user enters any other department, create a CollegeCourse that does not include the lab fee.  Then display the course data.  Save the files as CollegeCourse.java, LabCourse.java, and UseCourse.java.    

Expert paper writers are just a few clicks away

Place an order in 3 easy steps. Takes less than 5 mins.

Calculate the price of your order

You will get a personal manager and a discount.
We'll send you the first draft for approval by at
Total price:
$0.00
error: Content is protected !!
Open chat
1
Order through WhatsApp!
professionalsessays.com
Hello!
You Can Now Place your Order through WhatsApp
 

 

Order your essay today and save 15% with the discount code 2023DISCOUNT