subject

Create a class named college course 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 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 lab course 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. if the user enters a class in any of the following departments, create a 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.

ansver
Answers: 3

Another question on Computers and Technology

question
Computers and Technology, 22.06.2019 08:00
What is the algorithm for building a binary tree program
Answers: 2
question
Computers and Technology, 22.06.2019 10:00
What is a society that has moved to the internet rather than relying on physical media called
Answers: 2
question
Computers and Technology, 22.06.2019 15:30
Whats are the different parts of no verbal comunication, especially body language?
Answers: 3
question
Computers and Technology, 23.06.2019 02:50
There’s only one game mode that stars with the letter ‘e’ in cs: go. which of the options below is it?
Answers: 1
You know the right answer?
Create a class named college course that includes data fields that hold the department (for example,...
Questions