This repository contains Java implementations of the Factory Design Pattern, Observer Design Pattern, Strategy Design Pattern and the Singleton Design Pattern, demonstrating how to create objects without specifying the exact class of the object that will be created and ensuring a class has only one instance. The examples include different types of pizzas (New York style and Italian style) and their respective pizza stores, as well as an example of the Singleton pattern. This project follows the principles outlined in "Head First Design Patterns" to showcase practical applications of both the Factory Method and Singleton Design Patterns.
-
Notifications
You must be signed in to change notification settings - Fork 0
This repository showcases Java implementations of the Factory, Strategy and Singleton Design Patterns, inspired by "Head First Design Patterns." Examples include various pizza types (New York and Italian style) and their stores, along with a Singleton pattern demonstration.
jallen2034/head-first-design-patterns-java
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
About
This repository showcases Java implementations of the Factory, Strategy and Singleton Design Patterns, inspired by "Head First Design Patterns." Examples include various pizza types (New York and Italian style) and their stores, along with a Singleton pattern demonstration.
Resources
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published