O'Reilly logo

Java Design Patterns: A tour of 23 gang of four design patterns in Java by Vaskaran Sarcar

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Key Points

#1. We need to know design patterns to find solutions for frequently occurring problems. And we want to reuse these solutions whenever we face a similar situation in the future.

#2. These are one kind of template to address solutions in many different situations.

#3. In other words, these are the descriptions of how different objects and their respective classes solve a design problem in a specific context.

#4. Here we have discussed 23 design patterns as outlined by the Gang of Four. These patterns can be classified into three major categories:

  1. Creational Patterns:

    These patterns mainly deal with the instantiation process. Here we make the systems independent from how their objects are created, collected, or represented. The following ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required