I am not clear why we require to have both an Is-a and a Has-a relationship between Decorator and Component classes.
We can just have an Is-a relation and class Component class method using Base::Operation().
return to top