subject

Create a class named collegecourse that includes data fields that hold the department (cmps), the course number (1302), the credit hours (3), and the fee for the course ($360). all of the fields are required as arguments to the constructor, except the fee, which is calculated at $120 per credit hour. include a display() method that displays the course data. create a subclass (child class) named labcourse that adds $50 to the course fee for lab material. override the parent display() method to indicate that the course is a lab course and to display the updated course fee. write an application name usecourse that prompts the user for course information. if the user enters a class in any of the following departments (biol, chem, cmps, phys), create a labcourse; otherwise create a collegecourse. then display the course information. save the files as collegecourse. java, labcourse. java, usecourse upload or copy the java file into the dropbox and submit

ansver
Answers: 1

Another question on Computers and Technology

question
Computers and Technology, 22.06.2019 09:00
What is one way in which tablets differ from laptops and notebooks? tablets are designed for touch-based interaction. tablets are designed to be used as desktops. tablets are designed for input via a keyboard and mouse. tablets are designed to be larger than laptops.
Answers: 1
question
Computers and Technology, 23.06.2019 15:00
Plz ( which is an example of a good url?
Answers: 1
question
Computers and Technology, 24.06.2019 10:00
3. what do the terms multipotentialite, polymath, or scanner mean?
Answers: 2
question
Computers and Technology, 25.06.2019 05:00
7. the cullerton park district holds a mini-olympics each summer. create a class named participant with fields for a name, age, and street address. include a constructor that assigns parameter values to each field and a tostring() method that returns a string containing all the values. also include an equals() method that determines two participants are equal if they have the same values in all three fields. create an application with two arrays of at least eight participants each—one holds participants in the mini-marathon, and the other holds participants in the diving competition. prompt the user for participant values. after the data values are entered, display values for participants who are in both events. save the files as participant.java and twoeventparticipants.java.
Answers: 2
You know the right answer?
Create a class named collegecourse that includes data fields that hold the department (cmps), the co...
Questions
question
Mathematics, 30.09.2021 21:10
question
Computers and Technology, 30.09.2021 21:10
Questions on the website: 13722366