Skip to content

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.

Notifications You must be signed in to change notification settings

jallen2034/head-first-design-patterns-java

Repository files navigation

Head First Design Patterns 🍕

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.

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

No packages published

Languages