コンテンツへスキップ

コンストラクタ

導入済み
プリント
このトピックのビデオレッスン 動画ページを開く
7:20

クラス定義

aquí hay un estudiante, almacenado como tres variables sueltas: un nombre, un año y una calificación. Eso funciona. Ahora añade mil estudiantes. Necesitas tres mil variables…

英語のナレーション・英語と中国語の字幕を切り替え可能

このレッスンの内容

動画レッスン
語彙
English 意味
constructor/kənˈstrʌktə/A special operation used to initialise a newly created object.
default constructor/dɪˈfɒlt kənˈstrʌktə/デフォルトコンストラクタ
Parameters/pəˈræmɪtəz/
overloading/ˌəʊvəˈləʊdɪŋ/Declaring methods or constructors with the same name but different parameter lists, so the applicable version is selected from the call.

プリント

ログインまたはアカウント作成

IGCSE, A-Level & AP