Question: Create a StarShip Class, as defined in class and instantiate objects based on the class in a demo program. Include use of the default and

Create a StarShip Class, as defined in class and instantiate objects based on the class in a demo program. Include use of the default and parameterized constructor, getters and setters.

StarShip

- starShip Name : string

-maxVelocity:int

- crewSize : int

- displacement : double

Create all required getters and setters, default constructor and parameterized constructor, and a display method.

Use the three file approach, header, implementation and demo.

Each assignment should be completed by creating a Visual Studio project. Compress the entire project folder using the instructions in the Course Document: Compressing Visual Studio Projects Each project must include comments and document all specs, requirements and testing employing the following the example in a block in the header of the the .cpp file in your project containing the main method: THIS IS AN EXAMPLE, ADAPT THIS TO EACH PROJECT:

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!