subclass

名词 n. 动词 v.

英文释义

名词 n.
  1. A secondary class within a main class.
    — 1959, "Steam's Finest Hour" edited by David P. Morgan, Kalmbach Publishing Co., referring to the R-1 Mountain class loco. These 4-8-2's, of which B&M eventually purchased 18 in various subclasses, could almost haul the tonnage of a T and more than made up for the slight deficiency by raising the maximum speed limit from 45 to 70 miles per hour, thanks to 73-inch drivers.
  2. A rank directly below class.
  3. An object class derived from another class (its superclass) from which it inherits a base set of properties and methods.
动词 v.
  1. (in object-oriented programming) To create a subclass of (some class). transitive
    — I subclassed the Button class to create a more specialised FancyButton class for my user interface.
  2. To cause (an object) to act as an instance of a subclass (by creating the desired subclass and instantiating an object of this subclass). transitive
    — 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.

词形变化

subclasses plural sub-class alternative subclasses present,singular,third-person subclassing participle,present subclassed participle,past subclassed past sub-class alternative

词源

词源 1
Etymology tree
Proto-Indo-European *upó
Proto-Italic *supo
Latin sub
Latin sub-der.
English sub-
Proto-Indo-European *kelh₁-der.
Proto-Italic *klāssis
Latin classisder.
Middle French classebor.
English class
English subclass
From sub- + class.
词源 2
Etymology tree
Proto-Indo-European *upó
Proto-Italic *supo
Latin sub
Latin sub-der.
English sub-
Proto-Indo-European *kelh₁-der.
Proto-Italic *klāssis
Latin classisder.
Middle French classebor.
English class
English subclass
From sub- + class.
0 次浏览 数据来源: Wiktionary