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 to Expert-Tailored Solutions

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

Step: 2

blur-text-image_2

Step: 3

blur-text-image_3

Ace Your Homework with AI

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

Get Started

Recommended Textbook for

Practical Azure SQL Database For Modern Developers Building Applications In The Microsoft Cloud

Authors: Davide Mauri, Silvano Coriani, Anna Hoffma, Sanjay Mishra, Jovan Popovic

1st Edition

1484263693, 978-1484263693

More Books

Students also viewed these Databases questions

Question

Define Scientific Management

Answered: 1 week ago

Question

Explain budgetary Control

Answered: 1 week ago

Question

Solve the integral:

Answered: 1 week ago

Question

What is meant by Non-programmed decision?

Answered: 1 week ago