|
|
|
|
|
|
Categoría: 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... |
|
|
|
|
|
|
Una clase contiene la descripción de una estructura de datos (miembros) y los procesos (métodos) que manejan esta estructura. |
|
|
|
|
|
|
When creating a class in the code editor, the Constructor and Destructor methods are automatically created by default... |
|
|
|
|
|
|
Las variables se copian usando el operador "="... |
|
|
|
|
|
|
A .NET object can be dynamically associated with a .NET class, in which case the object is dynamically instantiated. |
|
|
|
|
|
|
Several types of WLanguage variables are used to enumerate and dynamically handle the elements of a class... |
|
|
|
|
|
|
The cast (downcast) operator is used to convert a base class to a derived class without using a local variable... |
|
|
|
|
|
|
Un objeto puede asociarse dinámicamente a una clase, hablamos de instanciación dinámica de objeto... |
|
|
|
|
|
|
To access a class, the object must be declared as being part of the class to handle, this is called object instantiation... |
|
|
|
|
|
|
Una interfaz se utiliza para dividir los usos de características comunes a varios elementos de sus implementaciones, lo que simplifica su reutilización. |
|
|
|
|
|
|
La programación orientada a objetos (llamada "POO") es un paradigma de programación en el que los programas se organizan como conjuntos de objetos... |
|
|
|
|
|
|
Para acceder a una clase.... |
|
|
|
|
|
|
El operador "is <Class>" se utiliza para averiguar si el objeto utilizado en un objeto de la clase (o un objeto de una de sus clases derivadas) |
|
|
|
|
|
|
To access a class, the object must be declared as being part of the class to handle, this is called object instantiation... |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|