Singleton Design Pattern Explained | Double Checking | Concurrency | Java | Imp Interview Question

แชร์
ฝัง
  • เผยแพร่เมื่อ 13 ต.ค. 2024

ความคิดเห็น • 46

  • @rite2riddhi
    @rite2riddhi  2 ปีที่แล้ว +7

    Next up in the series would be Observer Pattern. A very interesting and an important one indeed.

  • @neelanshgulati2643
    @neelanshgulati2643 2 ปีที่แล้ว +5

    Need more design pattern videos like these. Really simple and easy to understand. Keep making more videos of design patterns!!✌

  • @AkashVerma-hi3uq
    @AkashVerma-hi3uq 3 หลายเดือนก่อน +1

    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.

  • @deadchannel-x2m
    @deadchannel-x2m 2 ปีที่แล้ว +6

    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.

  • @manishasingh-de8hi
    @manishasingh-de8hi 4 หลายเดือนก่อน

    very well explained.Would have been helpful if you had continued this series, expecially for Factory and Abstract Factory and Strategy pattern

  • @sreddy8141
    @sreddy8141 2 หลายเดือนก่อน

    what an explanation bro... simply fire :) lots of respect and love for your work.

  • @soumavabanerjee5925
    @soumavabanerjee5925 2 ปีที่แล้ว +1

    Amazing explanation. Thread safe implementation was the cherry on top!

  • @MuralidharanR-hl7gt
    @MuralidharanR-hl7gt 8 หลายเดือนก่อน

    @Riddhi Dutta it was a great explanation. Can you teach all design patterns and try to complete that playlist?

  • @GanaviN-f1o
    @GanaviN-f1o 3 หลายเดือนก่อน

    hey Riddhi,
    thanks for this nice explantion on singleton.
    and waiting for this "How can we still breach the singleton pattern?

  • @arnavsatrusal2480
    @arnavsatrusal2480 18 วันที่ผ่านมา

    great work!!

  • @kartikaygoel3042
    @kartikaygoel3042 4 หลายเดือนก่อน +1

    Please make a separate video on "How can we still breach the singleton pattern?" Loving the content

  • @naveenrawat6278
    @naveenrawat6278 2 ปีที่แล้ว +1

    I think it's a good idea to cover how the current code can be breached. Will be waiting :)

  • @roopareddy7332
    @roopareddy7332 ปีที่แล้ว

    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 :)

  • @singhji4149
    @singhji4149 7 หลายเดือนก่อน +1

    Nice video, appreciated, please make a video on how to breach this pattern.. request please

  • @paragroy5359
    @paragroy5359 7 หลายเดือนก่อน

    Nice video.
    Keep on making such videos.
    Really helpful.

  • @joshsusinth
    @joshsusinth หลายเดือนก่อน

    Can we remove the double check by enclosing flag check within synchronized

  • @emad1166
    @emad1166 ปีที่แล้ว +2

    please make video on how still this singleton code can be breached

  • @carlpei6570
    @carlpei6570 2 ปีที่แล้ว +1

    Really helpful

  • @isabellagirlgang
    @isabellagirlgang 2 ปีที่แล้ว

    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

  • @Rajat2341
    @Rajat2341 ปีที่แล้ว

    kindly make a video on how we can breach the singleton pattern even after multithreading

  • @iamdips00356
    @iamdips00356 2 ปีที่แล้ว

    Amazing explanation

  • @namansaraswat9691
    @namansaraswat9691 2 ปีที่แล้ว

    This is very good informative video on singleton design pattern

  • @jsuryakt
    @jsuryakt 2 ปีที่แล้ว

    Got to know about synchronized block, volatile and also double checking

    • @rite2riddhi
      @rite2riddhi  2 ปีที่แล้ว

      Will cover these in depth in my concurrency series

  • @SunilSingh1994
    @SunilSingh1994 2 ปีที่แล้ว

    Very well explained video. Thanks.

  • @brilltwoant27
    @brilltwoant27 4 หลายเดือนก่อน

    bro where did you learn all these?

  • @arinchatterjee6405
    @arinchatterjee6405 2 ปีที่แล้ว

    great explanation✌👌

  • @manna1661
    @manna1661 ปีที่แล้ว

    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.

  • @haoshoku8496
    @haoshoku8496 2 ปีที่แล้ว

    Bhaiya Amazon mai ek fresher mid senior role ke lie apply kr skta hai?

    • @rite2riddhi
      @rite2riddhi  2 ปีที่แล้ว +1

      Fresher to fresher ke role mei apply krega na 😅

  • @harshgarg0906
    @harshgarg0906 2 ปีที่แล้ว

    Please make the video on reflection

  • @shubhamgoyal9556
    @shubhamgoyal9556 ปีที่แล้ว +1

    Bhai ye playlist puri krdo please

  • @himanshukandwal8710
    @himanshukandwal8710 2 ปีที่แล้ว

    broken link of video in description "Amazon SDE Revision Sheet"

  • @litheshshetty7839
    @litheshshetty7839 2 ปีที่แล้ว

    bhai resume review videos kardo kabhi kabar useful hothe hai

  • @channelname4394
    @channelname4394 4 หลายเดือนก่อน

    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

  • @Harsh-jc2bz
    @Harsh-jc2bz 27 วันที่ผ่านมา

    16-09-2024

  • @maheshgollapally4894
    @maheshgollapally4894 6 หลายเดือนก่อน

    Super bro

  • @sachinarora6682
    @sachinarora6682 2 หลายเดือนก่อน

    Please make a separate video on "How can we still breach the singleton pattern?" Loving the content