Learn Creational Design Patterns in Java
- Description
- Curriculum
- FAQ
- Reviews
Design patterns provide a template for writing quality code. Knowing which design pattern to use in which scenario can be challenging but will make you a master Java programmer. In this course you will take a deep dive into creational patterns, which can help you create more flexible, reusable objects.
I will be covering the six most popular creational patterns— Builder, Telescoping Constructor, Singleton, Prototype, Factory and Abstract Factory as well as concepts such as multithreading, mutability, inheritance and Java Heap and Stack workings.
I will provide example use cases, complete with implementation instructions and tips for avoiding the unique challenges posed by each pattern also explain how do design patterns work inside Java Heap and Stack Memory.
By the end of this course, you’ll be equipped with the knowledge and skills necessary to implement each design patterns in your Java projects.
Learning Objectives:
What are creational design patterns?
How to avoid complex constructors?
Implementing the Builder pattern
Implementing the Telescoping pattern
Understanding similarity between Builder and Telescoping pattern
Best interview answers for Singleton pattern Questions.
Also get a practical idea about the advance concepts such as serialization, cloning, multi-threading and reflection
Problem and Solution of Multi-threading with the Singleton pattern
Implementing the Prototype pattern
Best interview answers for Prototype pattern Questions.
Implementing simple Factory pattern
Implementing Abstract Factory pattern
-
3When To Use Builder Design PatternVideo lesson
-
4Alternative To Builder Pattern Telescoping PatternVideo lesson
-
5Builder Inside BuilderVideo lesson
-
6Summary of Builder and Telescoping patternVideo lesson
-
7Builder and Telescoping Design PatternQuiz
This will help students to remember the key takeaways from this section.
-
8When to use Singleton Pattern ?Video lesson
-
9Implement the Singleton PatternVideo lesson
-
10Problems and Solution of Singleton with MultithreadingVideo lesson
-
11Interview Qin Eager and Lazy Instantiation Singleton PatternVideo lesson
-
12Interview Qin what happens when we implement serialization tomorrowVideo lesson
-
13Interview Qin can reflection break Singleton PatternVideo lesson
-
14Interview Qin can Cloning break Singleton PatternVideo lesson
-
15Summary of Singleton patternVideo lesson
-
16Singleton Design PatternQuiz
This Quiz will ensure students remember the key points of this section which covers alot of interview Questions.
-
17What is Prototype Pattern ?Video lesson
-
18Mutability Problem and SolutionVideo lesson
-
19Shallow Copy and Deep CopyVideo lesson
-
20Summary of Prototype PatternVideo lesson
-
21Prototype Design PatternQuiz
This Quiz will help students revise what they have learned on this section as well as prepare them for the common java interview Questions.
External Links May Contain Affiliate Links read more