An instance variable can be a nested object, a pointer to an object, a primitive data item such as an int or a double, or an array of any of the preceding types.
Instance Variables: The new value of each instance variable of the receiver objects of A and B under the execution order A;B must be the same as the new value under the execution order B;A.
Each instance variable can be either a nested object, a primitive type from the underlying language such as an integer, a double or a pointer to an object, or an array of nested objects or primitive types.
Instance Variables: The new value of each instance variable of the receiver objects of A and B must be the same after the execution of the object section of A followed by the object section of B as after the execution of the object section of B followed by the object section of A.
For each instance variable
<name>, the accessor generator looks for <name> and raw<name>.
In a pure object-oriented language like Smalltalk, the end user has no way to access instance variables
directly; this must be done by writing methods or functions which access them.
To take one example, object-oriented programming languages differ on whether the instance variables
of a superclass are visible to the methods of a subclass.
Concrete specialization, which I would define as the programming expression of inheritance through the addition of instance variables
, sometimes conflicts with abstract specialization, which I would define as the expression of the is-a relation from the world being modeled.