memrootじしょ
英和翻訳
parent class
debt-free
parent class
/ˈpɛərənt klæs/
ペアレントクラス
1.
オブジェクト指向プログラミングにおいて、他のクラス(子クラス)がその属性やメソッドを継承する、元となるクラス。
ソフトウェア開発において、コードの再利用や構造化のために、特定の機能やデータをまとめた基盤となるクラスを指します。子クラスは親クラスの機能を受け継ぎ、必要に応じて拡張や上書きを行います。
In
object-oriented
programming,
a
child
class
inherits
properties
and
methods
from
its
parent
class.
(オブジェクト指向プログラミングにおいて、子クラスは親クラスからプロパティとメソッドを継承します。)
In object-oriented programming
オブジェクト指向プログラミングの分野で。
a child class
子クラス(派生クラス)は。
inherits
継承します。
properties and methods
プロパティ(属性)とメソッド(機能)を。
from its parent class
その親クラスから。
The
Animal
class
can
serve
as
a
parent
class
for
Dog
and
Cat
classes.
(Animalクラスは、DogクラスとCatクラスの親クラスとして機能することができます。)
The Animal class
Animalクラスは。
can serve as
~として機能することができます。
a parent class
親クラスとして。
for Dog and Cat classes
DogクラスとCatクラスに対して。
Modifying
a
parent
class
can
affect
all
its
child
classes.
(親クラスを変更すると、そのすべての子クラスに影響を与える可能性があります。)
Modifying
変更すること。
a parent class
親クラスを。
can affect
影響を与える可能性があります。
all its child classes
そのすべての子クラスに。
2.
プログラミングにおけるクラス階層構造の中で、直接の子クラスが存在する上位の概念的なクラス。
より広義には、オブジェクト指向設計における「スーパークラス」や「基底クラス」の同義語として使われることもあります。これは、特定のクラスが持つ共通の特性を抽象化し、その下位の具体的なクラスが派生していく際の、その「親」にあたる存在を指します。
Designing
a
robust
parent
class
is
crucial
for
building
a
scalable
software
architecture.
(堅牢な親クラスを設計することは、スケーラブルなソフトウェアアーキテクチャを構築するために極めて重要です。)
Designing a robust parent class
堅牢な親クラスを設計することは。
is crucial
極めて重要です。
for building a scalable software architecture
スケーラブルなソフトウェアアーキテクチャを構築するために。
Many
programming
languages
define
a
universal
parent
class,
such
as
'Object'
in
Java.
(多くのプログラミング言語では、Javaの'Object'クラスのように、普遍的な親クラスを定義しています。)
Many programming languages
多くのプログラミング言語では。
define a universal parent class
普遍的な親クラスを定義しています。
such as 'Object' in Java
例えばJavaの'Object'クラスのように。
The
properties
of
a
parent
class
determine
the
fundamental
behavior
inherited
by
its
descendants.
(親クラスのプロパティは、その子孫に継承される基本的な振る舞いを決定します。)
The properties of a parent class
親クラスのプロパティは。
determine
決定します。
the fundamental behavior
根本的な振る舞いを。
inherited by its descendants
その子孫たちに継承される。
関連
child class
subclass
superclass
base class
inheritance
object-oriented programming