| 1. |
Define Aspects? |
|
Answer» Aspects extend behavior and attributes for objects. An OBJECT type defines the properties and behavior of all objects of that type(and of its subtypes, VIA inheritance). In contrast, aspects enable us to attach additional behavior and attributes to an object, regardless of its type. EVEN though aspects can be attached regardless of the type of object, aspects cannot be attached to arbitrary types of objects. Aspects can be attached under the FOLLOWING restrictions on types
Aspects extend behavior and attributes for objects. An object type defines the properties and behavior of all objects of that type(and of its subtypes, via inheritance). In contrast, aspects enable us to attach additional behavior and attributes to an object, regardless of its type. Even though aspects can be attached regardless of the type of object, aspects cannot be attached to arbitrary types of objects. Aspects can be attached under the following restrictions on types |
|