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 03:30
Jessie has received a contract to build a real-time application for a baker. however, the baker doesn't want to invest too much money. his only requirement is that he wants the customers to know which cupcakes are available at what time and in what quantity. so his core requirement is that the details of product should be in real time. what platform can jessie use to develop this application?
Answers: 1
question
Computers and Technology, 22.06.2019 09:30
Is a string of code written to hurt others by damaging or destroying
Answers: 1
question
Computers and Technology, 23.06.2019 02:30
Research data that is presented using descriptive language is said to be
Answers: 2
question
Computers and Technology, 23.06.2019 05:00
Acompany is inviting design for its new corporate logo from its users. this is an example of ? a. crowdfunding b. crowdvoting c. crowdsourced design d. crowdtracking
Answers: 3
You know the right answer?
Create a class named collegecourse that includes data fields that hold the department (cmps), the co...
Questions
question
Mathematics, 15.02.2021 14:00
question
Mathematics, 15.02.2021 14:00
question
Mathematics, 15.02.2021 14:00
question
Social Studies, 15.02.2021 14:00
question
Mathematics, 15.02.2021 14:00
question
Mathematics, 15.02.2021 14:00
question
Mathematics, 15.02.2021 14:00
Questions on the website: 13722363