Skip to content
Branch: master
Find file History
Pull request Compare This branch is 252 commits behind iluwatar:master.
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
..
Failed to load latest commit information.
etc
src
.gitignore
README.md
pom.xml

README.md

layout title folder permalink categories tags
pattern
Twin
twin
/patterns/twin/
Creational
Java
Difficulty-Intermediate

Intent

Twin pattern is a design pattern which provides a standard solution to simulate multiple inheritance in java

alt text

Applicability

Use the Twin idiom when

  • to simulate multiple inheritance in a language that does not support this feature.
  • to avoid certain problems of multiple inheritance such as name clashes.

Credits

You can’t perform that action at this time.