Thursday, June 7, 2007

Question 48

Which of the following is suitable as a description of delegation in object orientation?

a) A mechanism to have a given object configured with multiple objects.
b) A mechanism in which, when an operation is applied to an object, the operation is automatically applied to related objects as well.
c) A mechanism to have an operation on a given object internally delegated to another object.
d) A mechanism to have a lower-level class inherit the attributes or operations of a higher-level class.

answer

No comments: