コンテンツへスキップ

Object-oriented programming

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

プログラミングのパラダイム

ここで一つのタスクがあります:A gradeを取得した生徒をすべてリストアップすることです。あるプログラマーはループを書きます——最初のレコードから始め、gradeを確認し、名前をリストに加え、移動します…

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

このレッスンの内容

動画レッスン
語彙
English 意味
public/ˈpʌblɪk/Describes a class member that code outside the class can access.
routines/ruːˈtiːnz/Sections of code written to perform particular tasks within a program.
object/ˈɒbdʒekt/オブジェクト
private/ˈpraɪvət/Describes a class member that code outside the class cannot access directly.
method/ˈmeθəd/A defined way of performing a task or investigation; in programming, a function associated with a class or object.
encapsulation/ɪnˌkæpsjʊˈleɪʃn/カプセル化
object-oriented programming/ˈɒbdʒekt ˈɔːrɪəntɪd ˈprəʊɡræmɪŋ/A way of designing programs using objects that combine data and methods.
class/klæs/クラス
attributes/ˈætrɪbjuːts/A named property or characteristic associated with an object, element or record.
state/steɪt/The saved information needed to continue a program from its current point.
behaviour/bɪˈheɪvjə/The actions an object can perform through its methods.
instance/ˈɪnstəns/インスタンス
visibility/ˌvɪzɪˈbɪlɪti/The rules that control where a class member can be accessed.
constructor/kənˈstrʌktə/コンストラクタ
gettersMethods that allow other code to read an object's attribute values.
settersMethods that allow other code to change an object's attribute values.
get methodsMethods that allow other code to read an object's attribute values.
set methodsMethods that allow other code to change an object's attribute values.
Inheritance/ɪnˈherɪtəns/An is-a relationship.
subclass/ˈsʌbklæs/サブクラス
superclass/ˈsuːpəklæs/スーパークラス
overriding/ˌəʊvəˈraɪdɪŋ/Providing a subclass implementation of an inherited instance method with a matching signature, subject to the language's rules.
Polymorphism/ˈpɒlɪmɔːfɪzəm/The same call behaving differently per class, which is what lets a new subclass be added without changing existing code.
Abstraction/əbˈstrækʃn/Representing essential features while leaving out unnecessary detail.
method callAn instruction that asks an object to perform one of its methods.
loop/luːp/A structure that repeats a sequence of instructions.
list/lɪst/A collection of items arranged in a particular order.
interface/ˈɪntəfeɪs/A way for users or programs to communicate with the computer's hardware.
is-a relationship
Containment/kənˈteɪnmənt/An object holds another object as one of its attributes.
aggregation/ˌæɡrɪˈɡeɪʃn/集約
references/ˈrefrənsɪz/Values that identify objects so that code can access them.
collection/kəˈlekʃn/A group of items stored together so they can be managed and used.
string/strɪŋ/A sequence of characters treated as a single data value.
composition/ˌkɒmpəˈzɪʃn/A relationship where an object contains parts that depend on it to exist.
membersThe attributes and methods that belong to a class or object.
次へ →

プリント

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

IGCSE, A-Level & AP