Due in Week1 and worth 20 points

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.    

 


What Students Are Saying About Us

.......... Customer ID: 12*** | Rating: ⭐⭐⭐⭐⭐
"Honestly, I was afraid to send my paper to you, but you proved you are a trustworthy service. My essay was done in less than a day, and I received a brilliant piece. I didn’t even believe it was my essay at first 🙂 Great job, thank you!"

.......... Customer ID: 11***| Rating: ⭐⭐⭐⭐⭐
"This company is the best there is. They saved me so many times, I cannot even keep count. Now I recommend it to all my friends, and none of them have complained about it. The writers here are excellent."


"Order a custom Paper on Similar Assignment at essayfount.com! No Plagiarism! Enjoy 20% Discount!"