week1 fundamentals recap

 0    6 cartonașe    up804653
descarcă mp3 printează joacă Testează-te
 
Întrebare English Răspuns English
What is a class?
începe să înveți
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?
începe să înveți
"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?
începe să înveți
is a procedure associated with a message and an object
What is a message?
începe să înveți
the way that one program object requests an action from another object.
What is inheritance?
începe să înveți
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
începe să înveți
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.

Trebuie să te autentifici pentru a posta un comentariu.