Design-Patterns cd to the directory of the pattern you want to run and run javac <pattern>.java and java <pattern> Java implementations of 9 Design Patterns: Visitor Factory State Strategy Observer Singleton Facade Composite Decorator