Subclass
Definition, Meaning & Examples
Pronunciation /ˈsʌbklæs/ · Part of speech noun
Quick meaning: Subclass is a noun meaning A secondary class within a main class.
Meaning
A secondary class within a main class.
More Meanings
- (taxonomy) A rank directly below class.
- (transitive, computing) (in object-oriented programming) To create a subclass of (some class).
- (object-oriented programming) An object class derived from another class (its superclass) from which it inherits a base set of properties and methods.
- (transitive, computing) To cause (an object) to act as an instance of a subclass (by creating the desired subclass and instantiating an object of this subclass).
Example Sentences
I subclassed the Button class to create a more specialised FancyButton class for my user interface.
Goffin is a prose text interspersed with short lists of typical terms exemplifying certain sub-classes of Indian English lexis.
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.
Word Forms
- subclasses
- sub-class
- subclassing
- subclassed
Synonyms for subclass
Depending on context, synonyms include subset.
Antonyms for subclass
Common opposites include superclass, superset, unsubclass.
Related Words
Related dictionary entries include subcategory, class, subsector, subgroup, underclass, subset.
Related Dictionary Tools
Sources & Attribution
FreeDictionaryAPI.com / Wiktionary · Original source · CC BY-SA 4.0
Dictionary data is provided by FreeDictionaryAPI.com and sourced from Wiktionary under its stated license.