Extract Subclass
From CSSEMediaWiki
(Difference between revisions)
Brett Ward (Talk | contribs) (New page: When a class has features that you may only wish to use in some cases, it may need to be split into a class with one or more subclasses. An alternative to this is Extract Class, givin...) |
m (Reverted edits by Ebybymic (Talk); changed back to last version by Brett Ward) |
(One intermediate revision by one user not shown) |
Latest revision as of 03:22, 25 November 2010
When a class has features that you may only wish to use in some cases, it may need to be split into a class with one or more subclasses.
An alternative to this is Extract Class, giving a choice between inheritance and delegation.
See Also