えいたんごクイズ

constructor

/kənˈstrʌktɚ/
暗記モードで復習 →

意味一覧 (2件)

noun

建設者けんせつしゃ建造者けんぞうしゃ

解説 Definition

建物や橋などを実際に建てる人、または建てる仕事をする人を表します。設計だけでなく、材料や人手を使って形あるものを作り上げる人を指します。

A person who builds something such as a building, bridge, or other structure. It means someone who makes a physical thing by putting materials together.

覚え方のコツ Memory Tip

constructor は construct「材料を組み合わせて建設する」に、人を表す -or が付いた形なので、「実際に構造物を形にする人」と覚えると定着しやすいです。architectdesigner が主に設計する人を指すのに対し、この語義の constructor は石、木材、人手などを用いて建物や橋を建て上げる側に焦点があります。a skilled constructor、the constructor built a bridge の形と、「図面だけでなく現場で材料を積み、完成物を立ち上げる姿」を結び付けましょう。

Construct means 'to build.' Add -or, meaning 'a person who does it,' and constructor becomes 'a person who builds.'

例文

The constructor built a strong bridge over the river.

その建設者は川に丈夫な橋を建てました。

A skilled constructor worked on the new school.

熟練した建設者が新しい学校の工事に取り組みました。

The constructor used stone and wood to make the house.

その建造者は石と木を使って家を作りました。

noun

コンストラクター

(意味 2)

解説 Definition

コンストラクタとは、プログラミング言語でオブジェクトの初期化を行う特別なメソッドまたは関数で、新しいインスタンスが作成されるときに自動的に実行されます。初期状態に必要な処理や値の設定をここで行い、その後の利用で正しく動作するように準備されます。

A constructor is a person or thing that builds or creates something. In technical fields, especially programming, it means a special function used to create and set up a new object. The exact meaning depends on whether the context is general building or computing.

覚え方のコツ Memory Tip

construct「組み立てる」を知っていれば覚えやすい。constructor はその名詞形で、「組み立てる役」をするもの。プログラミングでは、ばらばらの値や設定をまとめて object を使える状態に組み上げる最初の処理だと捉えるとよい。new と一緒に現れやすく、インスタンス生成時に自動で走るのがポイント。似た語の function や method は一般的な処理名だが、constructor は「作られた瞬間の初期化専用」という役割に絞って覚えると混同しにくい。

The root is `construct`, so a `constructor` is the part that builds something at the start. In programming, think of the special code that runs when a new object is created. A simple contrast helps: `constructor` prepares at the beginning, while `destructor` cleans up at the end.

例文

In Java, the constructor initializes the object's properties.

Javaではコンストラクタがオブジェクトのプロパティを初期化する。

The constructor is called automatically when you create a new instance.

新しいインスタンスを作成するとき、コンストラクタが自動的に呼び出される。

You can define a constructor for your class to set initial values.

初期値を設定するためにクラスのコンストラクタを定義できる。

constructor の類義語・関連語

constructor の語源・成り立ち Etymology

ラテン語の construere「積み重ねて建てる、組み立てる」に由来します。con- は「一緒に」、struere は「積み上げる」という意味を持ちます。

It comes from Latin construere, meaning 'to pile together' or 'to build.' The parts are con- 'together' and struere 'to pile up or arrange.'

同じレベルの英単語をもっと

外部辞書で調べる

この単語をシェア

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