subject

Create a class named collegecourse that includes data fields that hold thedepartment (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 fieldsare required as arguments to the constructor, except for the fee, which is calculatedat $120 per credit hour. include a display() method that displays the coursedata. create a subclass named labcourse that adds $50 to the course fee. overridethe parent class display() method to indicate that the course is a lab course andto display all the data. write an application named usecourse that prompts theuser for course information. if the user enters a class in any of the followingdepartments, create a labcourse: bio, chm, cis, or phy. if the user enters anyother 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 21:30
The salespeople at hyperactive media sales all use laptop computers so they can take data with them on the road. you are a salesperson for superduper lightspeed computers talking to hyperactive media sales about upgrading the laptops to windows 10. explain how network location awareness in windows 10 would make the laptops more secure.
Answers: 3
question
Computers and Technology, 24.06.2019 15:30
What type of forensic evidence was recovered during the bomb set off at the new mexico facility on the video that was similar to the evidence obtained at the boston bombings and how did the evidence allow the researchers to connect other pieces of evidence to the same bomb?
Answers: 2
question
Computers and Technology, 25.06.2019 05:00
Arun is 5 years older than anu. five years ago, the ratio of their ages was 3: 2 . find their present age
Answers: 2
question
Computers and Technology, 25.06.2019 06:00
Shaniya has misspelled a scientific name in her biology report. she needs to correct it, but she has no access to a computer. she plans to use the word app on her phone without an office 365 subscription. can shaniya correct her mistake? why or why not? yes, she can navigate the window and do simple editing. yes, she can use this application for free and navigate the window. no, her document is “read-only,” so she cannot navigate the window. no, her application has limited features and she cannot access the documen
Answers: 1
You know the right answer?
Create a class named collegecourse that includes data fields that hold thedepartment (for example, e...
Questions
question
Mathematics, 31.12.2019 03:31
question
History, 31.12.2019 03:31
Questions on the website: 13722367