memrootじしょ
英和翻訳
child class
child class
/ˈtʃaɪld klæs/
チャイルドクラス
1.
オブジェクト指向プログラミングにおいて、他のクラス(親クラスまたは基底クラス)から特性や振る舞いを継承するクラス。
オブジェクト指向プログラミングにおいて、他のクラス(親クラス、基底クラス)から属性やメソッドを受け継ぐクラスを指します。これにより、コードの再利用性が高まり、階層的な構造を構築できます。
In
object-oriented
programming,
a
child
class
inherits
properties
from
its
parent
class.
(オブジェクト指向プログラミングにおいて、子クラスは親クラスからプロパティを継承します。)
In object-oriented programming
オブジェクト指向プログラミングの分野で。
a child class
継承関係における子側のクラス。
inherits properties
属性や特徴を受け継ぐ。
from its parent class
その親となるクラスから。
You
can
override
methods
in
a
child
class
to
provide
specific
implementations.
(特定の実装を提供するために、子クラスでメソッドをオーバーライドできます。)
You can override
あなたは上書きできる。
methods
(プログラムにおける)機能。
in a child class
子クラスの中で。
to provide specific implementations
特定の機能を提供するために。
The
Car
class
might
be
a
child
class
of
Vehicle.
(「Car」クラスは「Vehicle」クラスの子クラスかもしれません。)
The Car class
「車」を表すクラス。
might be
~である可能性がある。
a child class
(継承関係における)子クラス。
of Vehicle
「乗り物」を表すクラスの。
2.
基底クラスや親クラスの機能を受け継ぎ、それを拡張したり変更したりするクラス。
基底クラス(親クラス)の既存の機能や構造を再利用しつつ、新しい機能を追加したり、既存の機能を特定のニーズに合わせて変更(オーバーライド)したりするために作成されるクラスです。これにより、コードの重複を避け、システムの柔軟性を高めます。
Creating
a
new
child
class
helps
in
code
reusability.
(新しい子クラスを作成することは、コードの再利用性を助けます。)
Creating
作成すること。
a new child class
新しい子クラス。
helps in
~に役立つ。
code reusability
コードの再利用性。
A
subclass
is
another
term
for
a
child
class.
(サブクラスは子クラスの別の呼び方です。)
A subclass
サブクラス。
is another term
別の用語である。
for a child class
子クラスにとって。
Polymorphism
often
involves
interactions
between
a
parent
class
and
its
child
classes.
(ポリモーフィズムはしばしば、親クラスとその子クラス間の相互作用を伴います。)
Polymorphism
多態性(ポリモーフィズム)。
often involves
しばしば含む。
interactions
相互作用。
between a parent class
親クラスの間で。
and its child classes
そしてその子クラスの間で。
関連
parent class
superclass
subclass
inheritance
base class
derived class
object-oriented programming