Question: 7. What is a constructor, and what is one example of one from the provided lab? EXAMPLE:base(standardBodyTemperature) 8. Consider the Dog class. A subclass of
7. What is a constructor, and what is one example of one from the provided lab?
EXAMPLE:base(standardBodyTemperature) 8. Consider the Dog class. A subclass of Dog, such as BostonTerrier or GoldenRetriever, could override the GetAverageRunSpeedInMilesPerHour method. It could not override the CatchBird method. Why?
9. Look at private int birdsCaught in the Cat class. Is this a field or property?
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
