えいたんごクイズ
subclass(サブクラス・noun)の覚え方イラスト

subclass

/ˈsʌbˌklæs/
暗記モードで復習 →
noun

サブクラス

解説 Definition

subclass は、より大きな分類の中にある下位分類です。オブジェクト指向プログラミングでは、別のクラスのデータや動作を引き継ぎ、機能の追加や変更もできるクラスを指します。

A smaller or more specific category within a broader class. In object-oriented programming, it is a class that inherits data or behavior from another class while potentially adding or modifying features.

使い方 Usage

  • 分類では belong to a subclass「サブクラスに属する」と使う。 In classification, belong to a subclass describes membership in a lower category.
  • プログラミングでは create a subclass「サブクラスを作る」、inherit from a parent class「親クラスから継承する」と使う。 In programming, common expressions include create a subclass and inherit from a parent class.

使い分け Common distinctions

  • subset は集合の一部分を広く指す。subclass は通常、分類体系の下位区分やクラスの継承関係を示す。 Subset broadly refers to part of a set. Subclass usually indicates a lower category in a classification system or a class inheritance relationship.

覚え方のコツ Memory Tip

sub-「下位の」+class「分類」と分け、「大分類の下にある小分類」と覚える。プログラミングでも、親クラスの下につながるクラスを思い浮かべる。

Break subclass into sub-, meaning lower, and class, meaning a category. Picture a smaller category beneath a larger one, or a programming class connected beneath its parent class.

例文

This animal belongs to a different subclass.

この動物は別のサブクラスに属します。

The developer created a subclass for special users.

開発者は特別なユーザー用のサブクラスを作成しました。

Each subclass can share basic features while adding its own behavior.

各サブクラスは基本機能を共有しながら、独自の動作を追加できます。

subclass の類義語・関連語

subclass の語源・成り立ち Etymology

「subclass」は sub-「下位の」+ class「分類」から成る語です。class はフランス語経由でラテン語 classis「区分・集団」に由来し、「大きな分類の下にある区分」がそのまま現在の意味になりました。classify、classification が同根です。

Subclass is a transparent compound of the prefix sub-, from Latin sub meaning “under,” and class. Class entered English through French from Latin classis, meaning a division or group. The compound therefore literally denotes a division beneath a larger division. Its general taxonomic use predates its specialized role in object-oriented programming, where one class is defined under another through inheritance.

同じレベルの語彙をもっと

外部辞書で調べる

この単語をシェア

この英単語をクイズで覚えよう