subject

For this assignment you will create several small classes to demonstrate inheritance. you will need to perform the following steps: 1. create a class that contains data and methods for a ship. call this class ship followed by your initials for your first and last name. (for example: if your name is schinnel small, the name of your class should be shipss.) • the ship class should contain the following data: o name of the ship o year the ship was built § use the protected modifier for both data members • the ship class should contain the following methods: o a constructor that sets the name of the ship and the year that it was built o a tostring method to display the name and year

ansver
Answers: 2

Another question on Computers and Technology

question
Computers and Technology, 23.06.2019 11:00
How should you specify box sizes on a web page if you want the boxes to vary according to the font size of the text they contain? a. in pixels b. in inches c. as percentages d. in em units
Answers: 2
question
Computers and Technology, 24.06.2019 04:30
Fall protection, confined space entry procedures, controlled noise levels, and protection from chemical hazards are some of the things that contribute to a safe what
Answers: 1
question
Computers and Technology, 24.06.2019 11:00
These statements describe lists in presentation programs: a. bullets can be turned off and on. b. bullets cannot be turned off. c. bullet styles, colors, and sizes can be changed. d. lists don't have to use bullets or numbers. e. numbering styles, colors, and sizes can be changed. f. numbers can be turned off and on. g. numbers cannot be turned off. select all that apply
Answers: 2
question
Computers and Technology, 24.06.2019 14:30
Alison is having a hard time at work because hee inbox is flooded with emails every day. some of these emails are unsolicited. some of other she don’t need. which action should she take to better manager her emails?
Answers: 1
You know the right answer?
For this assignment you will create several small classes to demonstrate inheritance. you will need...
Questions
question
Mathematics, 28.08.2019 23:00
question
Mathematics, 28.08.2019 23:00
Questions on the website: 13722362