ウィキペディア英語版

出典:Wikipedia

Constructor (object-oriented programming)

出典:『Wikipedia』 (2011/06/17 13:18 UTC 版)

英語による解説

ウィキペディア英語版からの引用
引用

In object-oriented programming, a constructor (sometimes shortened to ctor) in a class is a special type of subroutine called at the creation of an object. It prepares the new object for use, often accepting parameters which the constructor uses to set any member variables required when the object is first created.

調べた例文を記録して、効率よく覚えましょう
Weblio会員無料で登録できます
履歴機能 過去に調べた単語を確認できる
語彙力診断 診断回数が4回に増加
マイ単語帳 便利な学習機能付き
マイ例文帳 文章で意味を理解できる

Constructor (object-oriented programming)のページの著作権