Course contents

Module 10

Design Patterns & SOLID

SOLID and the classic design patterns in idiomatic Java, including the patterns hiding in the JDK.

Premium4 free lessons5 topics30 lessons & question sets1 ready

By the end of this module you can

  • Apply each SOLID principle with a concrete refactor
  • Implement and compare the core design patterns

SOLID principles

Each principle with before-and-after code.

  1. The Java LLD rulebookFree guide · already liveFree
  2. Single responsibilityLessonFreeSoon
  3. Open/closedLessonPremiumSoon
  4. Liskov substitutionLessonPremiumSoon
  5. Interface segregationLessonPremiumSoon
  6. Dependency inversionLessonPremiumSoon
  7. SOLID principles: interview questions & scenariosInterview Q&APremiumSoon

Creational patterns

Creating objects the right way.

  1. Thread-safe singletonLessonFreeSoon
  2. Factory methodLessonPremiumSoon
  3. Abstract factoryLessonPremiumSoon
  4. BuilderLessonPremiumSoon
  5. PrototypeLessonPremiumSoon
  6. Creational patterns: interview questions & scenariosInterview Q&APremiumSoon

Structural patterns

Composing classes and objects.

  1. AdapterLessonPremiumSoon
  2. DecoratorLessonPremiumSoon
  3. ProxyLessonPremiumSoon
  4. CompositeLessonPremiumSoon
  5. FacadeLessonPremiumSoon
  6. Structural patterns: interview questions & scenariosInterview Q&APremiumSoon

Behavioural patterns

Communication between objects.

  1. StrategyLessonFreeSoon
  2. ObserverLessonPremiumSoon
  3. CommandLessonPremiumSoon
  4. Template methodLessonPremiumSoon
  5. Chain of responsibilityLessonPremiumSoon
  6. StateLessonPremiumSoon
  7. Behavioural patterns: interview questions & scenariosInterview Q&APremiumSoon

Patterns in practice

Patterns in the JDK and anti-patterns to avoid.

  1. Design patterns in the JDKLessonPremiumSoon
  2. Anti-patternsLessonPremiumSoon
  3. Patterns in practice: interview questions & scenariosInterview Q&APremiumSoon

Module interview question bank

Finish the module

Module interview question bank

Every interview question worth practising for Design Patterns & SOLID, grouped by topic, with model answers, how to say them and what-if follow-ups.

Being written: it grows as the topics in this module are finished

PremiumSoon