week1 fundamentals recap

 0    6 フィッシュ    up804653
mp3をダウンロードする 印刷 遊びます 自分をチェック
 
質問 English 答え English
What is a class?
学び始める
an extensible program-code-template for creating objects, providing initial values for state (member variables) and implementations of behavior (member functions or methods)
What is an object?
学び始める
"object" refers to a particular instance of a class where the object can be a combination of variables, functions, and data structures.
What is a method?
学び始める
is a procedure associated with a message and an object
What is a message?
学び始める
the way that one program object requests an action from another object.
What is inheritance?
学び始める
an object or class is based on another object (prototypal inheritance) or class (class-based inheritance), acquires all the properties and behaviours of the parent object using the same implementation
what is encapsulation
学び始める
the bundling of data with the methods that operate on that data. Encapsulation is used to hide the values or state of a structured data object inside a class, preventing unauthorized parties' direct access to them.

コメントを投稿するにはログインする必要があります。