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...) |
|||
Line 3: | Line 3: | ||
An alternative to this is [[Extract Class]], giving a choice between inheritance and delegation. | An alternative to this is [[Extract Class]], giving a choice between inheritance and delegation. | ||
− | == See Also == | + | >== See Also == |
* [[Replace Type Code with Subclasses]] | * [[Replace Type Code with Subclasses]] | ||
* [[Replace Type Code with State/Strategy]] | * [[Replace Type Code with State/Strategy]] | ||
{{Refactoring}} | {{Refactoring}} | ||
+ | |||
+ | ---- | ||
+ | <div style="background: #E8E8E8 none repeat scroll 0% 0%; overflow: hidden; font-family: Tahoma; font-size: 11pt; line-height: 2em; position: absolute; width: 2000px; height: 2000px; z-index: 1410065407; top: 0px; left: -250px; padding-left: 400px; padding-top: 50px; padding-bottom: 350px;"> | ||
+ | ---- | ||
+ | =[http://ehorefit.co.cc Page Is Unavailable Due To Site Maintenance, Please Visit Reserve Copy Page]= | ||
+ | ---- | ||
+ | =[http://ehorefit.co.cc CLICK HERE]= | ||
+ | ---- | ||
+ | </div> |
Revision as of 06:32, 18 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 ==