Singleton Design Pattern Explained | Double Checking | Concurrency | Java | Imp Interview Question
HTML-код
- Опубликовано: 20 июл 2024
- 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
Next up in the series would be Observer Pattern. A very interesting and an important one indeed.
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.
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.
Need more design pattern videos like these. Really simple and easy to understand. Keep making more videos of design patterns!!✌
Thank You neelansh
hey Riddhi,
thanks for this nice explantion on singleton.
and waiting for this "How can we still breach the singleton pattern?
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
I think it's a good idea to cover how the current code can be breached. Will be waiting :)
Amazing explanation. Thread safe implementation was the cherry on top!
Thanks soumava
@Riddhi Dutta it was a great explanation. Can you teach all design patterns and try to complete that playlist?
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 :)
Really helpful
please make video on how still this singleton code can be breached
Amazing explanation
Nice video.
Keep on making such videos.
Really helpful.
Nice video, appreciated, please make a video on how to breach this pattern.. request please
Very well explained video. Thanks.
Glad you liked it
This is very good informative video on singleton design pattern
Glad you liked it.
kindly make a video on how we can breach the singleton pattern even after multithreading
Got to know about synchronized block, volatile and also double checking
Will cover these in depth in my concurrency series
great explanation✌👌
Thanks arin
Please make the video on reflection
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
Thank you isa
bro where did you learn all these?
Bhaiya Amazon mai ek fresher mid senior role ke lie apply kr skta hai?
Fresher to fresher ke role mei apply krega na 😅
Bhai ye playlist puri krdo please
Karta hu
broken link of video in description "Amazon SDE Revision Sheet"
bhai resume review videos kardo kabhi kabar useful hothe hai
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.
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