Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

please help with questions Lab instructions I have provided the implementation for the Mammal abstract class, the Dog and Rabbit species, and the Netherlands Dwarf

please help with questions
image text in transcribed
Lab instructions I have provided the implementation for the Mammal abstract class, the Dog and Rabbit species, and the Netherlands Dwarf Rabbit subspecies. Each provided class also contains tests verifying the functionality. In this lab you will specify a subspecies for the Dog class, and write tests for the class that you create. - Go to Module 5 in D2L and download AnimalLabzip - Unzip the file and open the solution in Visual Studio - Build the solution and verify all tests pass - Implement a subclass of Dog for a specific subspecies (such as BassetHound, BorderTerrier, etc) - Override GetSound with the specific sound you think that dog makes - Override GetAverageRunSpeedinMilesPerHour with your estimate of how fast the dog runs - Write tests that cover your new class - Add two tests to the Vetcheckuptests class to make sure that you are able to check the new subspecies you created for a fever - The solution should build and the tests should pass - Fill in the below questions - Complete the Microsoft Learn Tutorial. Include a screenshot of the completion screen in your submission. - Upload your completed solution with answers to the questions as a single zip file Lab Questions 1/2 README.md 1. Why could no unit tests be written for the Mammal class specifically? 2. Why did no changes need to be made to use the vet checkup. thas Fexe function for your newly created subspecies? 3. The Rabbit class invokes the constructor of the Mammal base class. What is the relevant code snippet that calls the Mammal Constructor? 4. What is the keyword that allows the GethvenagerugspeedinMilespentlour function to be overriden. by child classes? 5. What is the difference between a decinal and doubl e type

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access with AI-Powered Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started