Talk:Polymorphism in object-oriented programming: Difference between revisions

Content deleted Content added
SineBot (talk | contribs)
m Signing comment by Tiburondude - "syntax of the examples: "
Line 66:
<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. <small><span class="autosigned">—Preceding [[Wikipedia:Signatures|unsigned]] comment added by [[User:Tiburondude|Tiburondude]] ([[User talk:Tiburondude|talk]] • [[Special:Contributions/Tiburondude|contribs]]) 21:18, 11 April 2009 (UTC)</span></small><!-- Template:Unsigned --> <!--Autosigned by SineBot-->
 
== Overloading is not Polymorphism ==