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

Other questions on the subject: Computers and Technology

image
Computers and Technology, 22.06.2019 08:00, dustysorrells74
Someone with this coz i don’t really know what i can choose, just pick whatever u want. homework - you need to choose a website that you like or use frequently. you must visit the website and discuss 6 different features/parts/aspects of the website that you think makes it good. (100 words)
Answers: 2
image
Computers and Technology, 22.06.2019 09:40, vanessacasillas452
In the lab, which of the following displayed a list of all installed services and included a description of the service, the current state, and whether the service started automatically or manually? a. the services manager b. the applications summary c. the recommended services d. list the safe services list
Answers: 2
image
Computers and Technology, 22.06.2019 17:00, bnvghnbbb
Match the following. 1. show grouping of word processing tasks that can be performed quick access toolbar 2. shortcut location for commonly used elements scroll bars 3. organized commands used to modify documents ribbon 4. used to align and measure content in a word screen zoom bar 5. vertical and horizontal bars that are used to navigate through a document contextual tabs 6. displays the name of the document in use ruler 7. allows users to enlarge or shrink a visual of a word document title bar
Answers: 2
image
Computers and Technology, 23.06.2019 11:30, talyku7131
Me dangers of social media and the internetexplain what each means: 1) social media and phones have become an addiction.2) outside people have access to you all the time.3) cyberstalking4) cyberbullying5) catphishing6) viruses7) identity theft8) credit card fraud9) hacking10) money schemes
Answers: 1
You know the right answer?
Create a class named collegecourse that includes data fields that hold thedepartment (for example, e...

Questions in other subjects:

Konu
Mathematics, 05.06.2020 23:05