Looking at the heritage hierarchy tree in OOP, when two objects are in the shape of the diagram then what is their relation to each other it happens ? For example: NSWindow and NSView both inherit from NSResponder, so what are they siblings? How are their related methods related?
With diagrams you can only tell one thing, they are the same parents That you can definitely tell that they share the shared parents who share it.
Because they are very closely related, maybe there are other similarities, for example their purpose, however, is not clear from the heritage tree.
Comments
Post a Comment