Comment on Why composition is often better than inheritanceparentComments−jhasse12yWhat code do you mean? He only wrote "pass". I guess I'm confused because he still used inheritance.−skj12yThere was a place to write code. In this example, obviously, none was written. But interfaces leave no opportunity.
Comments
What code do you mean? He only wrote "pass". I guess I'm confused because he still used inheritance.
There was a place to write code. In this example, obviously, none was written. But interfaces leave no opportunity.