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, 23.06.2019 04:20
Which network media uses different regions of the electromagnetic spectrum to transmit signals through air? uses different regions of the electromagnetic spectrum to transmit signals through air.
Answers: 2
question
Computers and Technology, 23.06.2019 13:30
Stops: using the information learned in this course, explain three things you will not do when driving. a. b. c. explain why you will not do these things when driving. starts: using the information learned in this course, explain three things you will do when driving. a. b. c. explain why you will do these particular things when driving. explain one thing you will stop doing as a passenger. explain one thing you will start doing as a passenger.
Answers: 3
question
Computers and Technology, 24.06.2019 02:00
Read the following scenario, and then answer the question below. you want to send an e-mail to your boss requesting a meeting to discuss a raise. what is the best example of an e-mail to an employer about this meeting? “hey jason. can we chat about getting me more money soon? let me know. peace, meg.” “hello jason. pardon me for sending yet another e-mail today about my need to talk to you about my position and a possible pay increase. i am dying to know when you can talk. sincerely, meg.” “hello jason. i have been with the company for one year and have taken on more responsibilities than outlined in my job description. i would appreciate an opportunity to speak with you about my position. let me know when we can schedule a meeting. you, meg.” “greetings jason! i hope this e-mail finds you well and happy today. i really, really want to talk to you about something important. i am not sure if you have time. i hope you do. get back in touch with me and let me know when we might talk. ever so much for taking the time to read this. sincerely, meg.”
Answers: 3
question
Computers and Technology, 24.06.2019 03:30
Explain the importance of html in web page designing in 20 sentences..
Answers: 1
You know the right answer?
Create a class named collegecourse that includes data fields that hold thedepartment (for example, e...
Questions
Questions on the website: 13722363