Skip to main content

You are not logged in. Your edit will be placed in a queue until it is peer reviewed.

We welcome edits that make the post easier to understand and more valuable for readers. Because community members review edits, please try to make the post substantially better than how you found it, for example, by fixing grammar or adding additional resources and hyperlinks.

Required fields*

3
  • 1
    What actually do you want to ask? Could you please be more specific about your question? Commented Sep 26, 2012 at 20:26
  • i do not understand how the programmer was worked out his code and how he mixed the classes there is a class for food and class for horse then a class for mammal and what does the override do? Commented Sep 26, 2012 at 20:30
  • 2
    You're simply overriding the Eat() method in your class Mammal means that you're altering the default behaviour of the Eat() method in the Animal class. What else are you looking for? Commented Sep 26, 2012 at 20:38