What's the difference between
and
Enter two words to compare and contrast their definitions, origins, and synonyms to better understand how those words are related.

Subclass vs Mixin - What's the difference?

subclass | mixin |

As a noun subclass

is (taxonomy) a rank directly below class.

As a verb subclass

is (computing) in object-oriented programming, to create a subclass of.

subclass

English

Noun

(es)
  • (taxonomy) A rank directly below class
  • (computing) In object-oriented programming, an object class derived from another class (its superclass) from which it inherits a base set of properties and methods.
  • Antonyms

    * superclass

    Verb

    (es)
  • (computing) In object-oriented programming, to create a subclass of.
  • I subclassed the Button class to create a more specialised FancyButton class for my user interface.
  • (computing) To cause (a window or object) to act as a member of a subclass.
  • * 2000 , James D. Foxall, MCSD in a Nutshell: The Visual Basic Exams (page 93)
  • Since Windows knows about these events, your application should be able to know about them as well. In order to accomplish this, subclass the window of a form or control, intercepting all of its events.

    Antonyms

    * (cause to act as a member of a subclass) unsubclass

    Derived terms

    * subclassable * unsubclass

    mixin

    English

    Noun

    (en noun) (wikipedia mixin)
  • (computing, programming) In object-oriented programming, an uninstantiable class that provides functionality to be inherited by a subclass.
  • Synonyms

    * abstract base class{{cite web , url = http://en.wikipedia.org/wiki/Mixin , title = Mixin , publisher = English Wikipedia , quote = Mixins are synonymous with abstract base classes. , accessdate = 2012-05-15 }}

    Anagrams

    *

    References