-
Notifications
You must be signed in to change notification settings - Fork 71
Home
A user-defined prototype for an object that defines a set of attributes that characterize any object of the class. The attributes are data members (class variables and instance variables) and methods, accessed via dot notation.
A variable that is shared by all instances of a class. Class variables are defined within a class but outside any of the class's methods. Class variables are not used as frequently as instance variables are.
It is a special type of subroutine called to create an object. It prepares the new object for use, often accepting arguments that the constructor uses to set required member variables.
A class variable or instance variable that holds data associated with a class and its objects.
A method which is automatically invoked when the object is destroyed.
In programming languages, encapsulation is used to refer to one of two related but distinct notions, and sometimes to the combination thereof:
- A language mechanism for restricting access to some of the object's components.
- A language construct that facilitates the bundling of data with the methods (or other functions) operating on that data.
The assignment of more than one behavior to a particular function. The operation performed varies by the types of objects or arguments involved.
Is an object whose state cannot be modified after it is created.
This is a type of encapsulation can be used to hide data members and members function... Under this definition, encapsulation means that the internal representation of an object is generally hidden from view outside of the object's definition. Typically, only the object's own methods can directly inspect or manipulate its fields.
The transfer of the characteristics of a class to other classes that are derived from it.
An individual object of a certain class. An object obj that belongs to a class Circle, for example, is an instance of the class Circle.
A variable that is defined inside a method and belongs only to the current instance of a class.
The creation of an instance of a class.
A special kind of function that is defined in a class definition.
Is a feature of some object-oriented computer programming languages in which an object or class can inherit characteristics and features from more than one parent object or parent class. It is distinct from single inheritance, where an object or class may only inherit from one particular object or class.
An object which can be modified after it is created.
A unique instance of a data structure that's defined by its class. An object comprises both data members (class variables and instance variables) and methods.
The assignment of more than one function to a particular operator.
A virtual method is one that the Abstract Base Class (ABC) says must exist in child classes, but doesn't necessarily actually implement.
- https://en.wikipedia.org/wiki/Encapsulation_(computer_programming)
- https://en.wikipedia.org/wiki/Immutable_object
- https://en.wikipedia.org/wiki/Constructor_(object-oriented_programming)
- https://en.wikipedia.org/wiki/Multiple_inheritance
- http://www.python-course.eu/object_oriented_programming.php
- http://www.tutorialspoint.com/python/python_classes_objects.htm