Content deleted Content added
m Signing comment by 76.126.198.46 - "→C# code commentary: " |
Tiburondude (talk | contribs) |
||
Line 65:
to fix I added the word public in front of AnimalBase: public AnimalBase(string name)
<br />
Note on 4/11/09 from original author: I think protected is best for the constructor, Name has to be public to satisfy the interface, but the class should be marked abstract. I made those changes. The rationale is that the design of the Animal Base class is to function as purely a base class. It cannot be instantiated, only inherited from.
== Overloading is not Polymorphism ==
|