|
|
|
|
|
|
Category: OOP (Object Oriented Programming) |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
A property is a code element that includes two processes...
|
|
|
|
|
|
|
The retrieval and assignment processes can be public, private or protected. The access rights of the property correspond to the less restrictive rights of the two processes.
|
|
|
|
|
|
|
The advanced management of instances is used to choose the mode for taking reference. This choice has a direct impact on the release of class objects: depending on the reference selected, the "Destructor" will not be called at the same time..
|
|
|
|
|
|
|
The hierarchical organization in class and sub-class has allowed to create the notion of inheritance...
|
|
|
|
|
|
|
The "is <Class>" operator is used to find out whether the object used in an object of the class (or an object of one of its derived classes)
|
|
|
|
|
|
|
When creating a class in the code editor, the Constructor and Destructor methods are automatically created by default...
|
|
|
|
|
|
|
Variables are copied using the "=" operator...
|
|
|
|
|
|
|
A .NET object can be dynamically associated with a .NET class, in which case the object is dynamically instantiated.
|
|
|
|
|
|
|
An object can be dynamically associated with a class, we talk of dynamic instantiation of object...
|
|
|
|
|
|
|
Several types of WLanguage variables are used to enumerate and dynamically handle the elements of a class...
|
|
|
|
|
|
|
The '<method>' methods of the '<derived class>' class and of the '<base class>' class do not have the same prototype...
|
|
|
|
|
|
|
To access a class, the object must be declared as being part of the class to handle, this is called object instantiation...
|
|
|
|
|
|
|
An interface is used to divide the uses of features common to several elements from their implementations, which simplifies their re-usability.
|
|
|
|
|
|
|
A class contains the description of a data structure (members) and the processes (methods) that handle this structure.
|
|
|
|
|
|
|
The object-oriented programming (called "OOP") is a programming paradigm in which the programs are organized as sets of objects...
|
|
|
|
|
|
|
To access a class, the object must be declared as being part of the class to handle, this is called object instantiation...
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|