Override (object-oriented programming): Difference between revisions
Appearance
Content deleted Content added
Sorry overing is most certainly not the same thing as simply a subroutine |
mNo edit summary |
||
Line 1: | Line 1: | ||
In [[computer science]]'s [[object-oriented programming]], an '''override''' involves providing a different [[behavior]] or [[method]] for a [[class (object-oriented programming)|subclass]] from that of the base class. |
In [[computer science]]'s [[object-oriented programming]], an '''override''' involves providing a different [[behavior]] or [[method]] for a [[class (object-oriented programming)|subclass]] from that of the [[base class]]. This is the basic means of achieving the [[polymorphism (object-oriented programming)]] an object oriented design in an object oriented language. |
||
See also: [[class (object-oriented programming)|class]], [[object (object-oriented programming)|object]] |
See also: [[class (object-oriented programming)|class]], [[object (object-oriented programming)|object]] |
Revision as of 15:26, 23 May 2003
In computer science's object-oriented programming, an override involves providing a different behavior or method for a subclass from that of the base class. This is the basic means of achieving the polymorphism (object-oriented programming) an object oriented design in an object oriented language.