Factory Design Pattern in Java

preview_player
Показать описание
Learn: Properties & Implementation with example in Java of Singleton Design Pattern

Do Watch video for more info

This Problem is synonym of following problems:

Factory design pattern java,
real time example for Factory design pattern in java,
when to use Factory design pattern,
Factory design pattern in java,
Factory design pattern in spring,
design patterns in java,
Factory design pattern implement

Please check video for more info:

CHECK OUT CODING SIMPLIFIED

★☆★ VIEW THE BLOG POST: ★☆★

I started my YouTube channel, Coding Simplified, during Dec of 2015.
Since then, I've published over 200+ videos.

★☆★ SUBSCRIBE TO ME ON YOUTUBE: ★☆★

★☆★ Send us mail at: ★☆★

Рекомендации по теме
Комментарии
Автор

Just subscribed to this channel and this guy made me fall in love with java again. Thank you for the knowledge man. 🔥❤️🙏

damercy
Автор

simple straight forward and crystal clear explanation. Thanks alot

ankitmishra-dptx
Автор

Thank you for your design pattern series, the examples are helpful!

jesseallaway
Автор

Hey, I like the explaination and the example, but I was wondering if we add if else for getting the instace of each vehicle type, isn't that a voilation of SRP and OCP of SOLID principles? Correct me if I am wrong here, because if there is a new vehicle then we'll have to modify the existing code or is this a case where we can not avoid voilating SRP and OCP?

yashrajsrivastav
Автор

Thanks for the video. Explanation and examples really help.

villachirag
Автор

Thanks to make videos on design series :) and uploading the source code is awesome :)

rakeshkumargupta
Автор

Thanks a lot brother for your clear explanation.

rachamallidorasrivignesh
Автор

Good crisp content, easy to understand important points. Can you please tell whether for Object oriented design/Low level design interview, these topics are necessary?

reshmah
Автор

Nice explanation!! In this design pattern we are creating instance in factory class using if else depending on our requirement but what if class name of bike or car changes ? Then we need to change instance name in factory class. Can we loosely coupled it as well?

sagarkolhe
Автор

Wonderful explanation . Straight to the point

akash
Автор

can't we use interface and just change the values that we are passing rather than making 2 objects?

lordgreat
Автор

Can we create object of abstract class Vehicle? I am new to Java and read "we can't create object of abstract class"

surajsidar
Автор

Hi, why you not added int wheel into Vehicle class?

BharatSonawane
Автор

instead of == you can use .equals method bro

MirzaTalks
Автор

what happens if you print invalid input ?

like truck

thanos
Автор

Plz post a video for abstract factory design pattern too

shubhamsisodia
Автор

can you please explain Abstract Factory design pattern

spnarayanrao
Автор

Very nice. Would it better if it was type.equals("car") instead type == car?

prashantsomvanshi
Автор

Can you please share some more usecases for factory design pattern?

saketsinha
Автор

Nice video...
I have a question about inheritance and polymorphism. I am creating a static method in child class which have private constructor. And the parent class have same private constructor and stayic method. Parent class extends GrandParent class which have public constructor with 3 arguments.

My problem is the error shown in child class for making its own constructor.
Can you please show me any direction.

jemschaudhary
join shbcf.ru