Jump to content

Talk:Structural pattern

Page contents not supported in other languages.
From Wikipedia, the free encyclopedia
The printable version is no longer supported and may have rendering errors. Please update your browser bookmarks and please use the default browser print function instead.

If structural patterns are relationships between entities, why isn't inheritance listed?

Inheritance by definition is not a pattern. Inheritance and object composition are basic structures of object orientation which govern the two ways objects can interact with each other. Patterns give us a way to structure that interaction in different ways as per our needs.

Mrityunjay.kant 09:47, 21 December 2006 (UTC)[reply]