Class Central is learner-supported. When you buy through links on our site, we may earn an affiliate commission.

LinkedIn Learning

Java Design Patterns: Creational

via LinkedIn Learning


Learn how to use the five most popular creational design patterns—Builder, Singleton, Prototype, Factory Method, and Abstract Factory—to write better Java code.

Design patterns provide a kind of template for writing quality code. Knowing which design pattern to use in which scenario can be challenging, but will make you a better Java programmer. This course takes a deep dive into creational patterns, which can help you create more flexible, reusable objects. Instructor Bethan Palmer covers the five most popular creational patterns—Builder, Singleton, Prototype, Factory Method, and Abstract Factory—as well as concepts such as multithreading, mutability, and hierarchies. She provides example use cases, complete with implementation instructions and tips for avoiding the unique challenges posed by each pattern. By the end of the course, you'll be armed with the knowledge and skills necessary to implement each design pattern in your own Java projects.


  • Improve code with creational design patterns
  • What you should know
1. Creational Design Patterns
  • What is a design pattern?
  • Creational design patterns
2. The Builder Pattern
  • Avoid complex constructors
  • Implement the Builder pattern
  • Implement a complete Builder pattern
  • Complex constructions
3. The Singleton Pattern
  • When to use the Singleton pattern
  • Implement the Singleton pattern
  • Multithreading with the Singleton pattern
  • Java's Collection class
4. The Prototype Pattern
  • Understand the Prototype pattern
  • Implement the Prototype pattern
  • Dealing with mutability
5. The Factory Method Pattern
  • Understand the Factory Method pattern
  • Implement a simple Factory Method pattern
  • Introduction to hierarchies
  • The complete Factory Method pattern
6. Abstract Factories
  • Understand the Abstract Factory pattern
  • Dealing with extensible factories
  • Implement the Abstract Factory pattern
  • Implement extensible factories
  • Next steps

Taught by

Bethan Palmer

Related Courses

Related articles


Start your review of Java Design Patterns: Creational

Never Stop Learning!

Get personalized course recommendations, track subjects and courses with reminders, and more.

Sign up for free