Singleton Design Pattern Explained | Double Checking | Concurrency | Java | Imp Interview Question
0:00 - Singleton Design Pattern
9:55 - Using Multithreading
🔴 Connect with me on Instagram - / code.blooded.voyager and ask me doubts 1:1. Would try to reply to each one of you.
🔴 Join My Telegram Channel for Placement Updates and attend my Free Live Classes on DS Algo - telegram.me/riddhi_dutta
🔴 Connect with me on LinkedIn - / riddhi-dutta
🔴 Conenct with me on Twitter - / rite2riddhi
🔴Graph Placement Series From Scratch - • Graphs - The Ultimate ...
🔴 Low Level Design and Design Pattern Series - • Low Level Design & Des...
🔴 Amazon SDE Revision Sheet - • Video
🔴 Link to my TopicWise SDE Sheets Playlist : • Trees SDE Coding Probl...
Tags
#designpatterns #builderpattern #lld #oops #java #singleton #multithreadinginjava
Пікірлер: 41
Next up in the series would be Observer Pattern. A very interesting and an important one indeed.
Thank you so much for such detailed video. Hats off to your way of explaining things. Please keep making videos on topics which requires detailed explanation.
That would be very helpful if you make a separate video on "How can we still breach the singleton pattern?". Thank you for your effort.
Need more design pattern videos like these. Really simple and easy to understand. Keep making more videos of design patterns!!✌
@rite2riddhi
Жыл бұрын
Thank You neelansh
hey Riddhi, thanks for this nice explantion on singleton. and waiting for this "How can we still breach the singleton pattern?
Really helpful
Amazing explanation. Thread safe implementation was the cherry on top!
@rite2riddhi
Жыл бұрын
Thanks soumava
Amazing explanation
very well explained.Would have been helpful if you had continued this series, expecially for Factory and Abstract Factory and Strategy pattern
Please make a separate video on "How can we still breach the singleton pattern?" Loving the content
@Riddhi Dutta it was a great explanation. Can you teach all design patterns and try to complete that playlist?
I think it's a good idea to cover how the current code can be breached. Will be waiting :)
Nice video. Keep on making such videos. Really helpful.
I have been following your content, they're simply great. Your way of explaining things is exceptional! Thanks a lot for such amazing videos. It would be very helpful if you can continue this playlist :)
Very well explained video. Thanks.
@rite2riddhi
Жыл бұрын
Glad you liked it
please make video on how still this singleton code can be breached
great explanation✌👌
@rite2riddhi
Жыл бұрын
Thanks arin
This is very good informative video on singleton design pattern
@rite2riddhi
Жыл бұрын
Glad you liked it.
Nice video, appreciated, please make a video on how to breach this pattern.. request please
Got to know about synchronized block, volatile and also double checking
@rite2riddhi
Жыл бұрын
Will cover these in depth in my concurrency series
kindly make a video on how we can breach the singleton pattern even after multithreading
Please make the video on reflection
bro where did you learn all these?
pls make a video on the details not all of us are here for interviews I'm a working professional so I needed to improve my LLD skills. this video was really amazing
@rite2riddhi
Жыл бұрын
Thank you isa
Bhaiya Amazon mai ek fresher mid senior role ke lie apply kr skta hai?
@rite2riddhi
Жыл бұрын
Fresher to fresher ke role mei apply krega na 😅
Bhai ye playlist puri krdo please
@rite2riddhi
Жыл бұрын
Karta hu
bhai resume review videos kardo kabhi kabar useful hothe hai
@rite2riddhi
Жыл бұрын
Sure
Some other ways to break the singleton pattern. - If the class is Serializable. - If it’s Clonable. - It can break by Reflection. - If the class is loaded by multiple class loaders.
broken link of video in description "Amazon SDE Revision Sheet"
brooooooooooooooooooooooooooooooooooooooooooooooooooo 😭😭😭😭😭😭😭😭😭😭😭😭😭😭😭😭😭😭😭, your explanation is excellent pls also create Creational Patterns - Builder, Singleton, Factory, Abstract Factory Structural Patterns - Adaptor, composite, decorator , facade Behavioral Patterns - Observer, command, state , template , stratergy all these patterns plssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssss
Super bro