SOLID Design Principles in java with Example | JavaTechie

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

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

  • @premraj.m
    @premraj.m 3 ปีที่แล้ว +33

    1:30 Single-responsibility principle
    5:10 Open-closed principle
    10:45 Liskov substitution principle
    19:45 Interface segregation principle
    24:52 Dependency inversion principle

  • @arthurezeagbo3986
    @arthurezeagbo3986 3 ปีที่แล้ว +37

    Java Techie is a great guy. His explanations are always on point.

  • @sangwaemmanuel6936
    @sangwaemmanuel6936 4 หลายเดือนก่อน +2

    This man understands everything in java from basics to advanced, Thank you JavaTEchie

  • @salithachathuranga6037
    @salithachathuranga6037 3 ปีที่แล้ว +8

    The best explanation I found on SOLID with practical examples!!!

  • @Jsr10008
    @Jsr10008 3 ปีที่แล้ว +57

    Hi Basant, Thanks for this great content. The Lisklov Substitution Principle and Interface Segregation Principle sounds similar. In the examples, the social media example is also segregating the forcible dependencies.

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

      yes i agree..!

    • @Indian1947-o1z
      @Indian1947-o1z 2 ปีที่แล้ว +3

      @@girishahirrao5558 there should be some difference, may be basant missed to explain

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

      Even I am thinking same liskov and interface segregation are same from example point of view...can you please explain sir

    • @gowthamdasari6227
      @gowthamdasari6227 ปีที่แล้ว +20

      these two principles may seem similar at first glance, they actually address different concerns:
      LSP ensures that subtypes can be used in place of their base types without altering the correctness of the program. In other words, it ensures that inheritance is used correctly, and that derived classes don't break the behavior expected from the base class.
      ISP ensures that interfaces are designed in a way that is specific and relevant to the needs of the clients that use them. It focuses on avoiding bloated and unnecessary interfaces by splitting them into smaller, more focused ones that can be used independently.
      To summarize, LSP is concerned with inheritance and polymorphism, while ISP is concerned with interfaces and their usage. While they are both important principles for designing maintainable and extensible software, they address different issues and should be applied in different contexts.

    • @Jsr10008
      @Jsr10008 ปีที่แล้ว +3

      @@gowthamdasari6227 Thanks bro so much for the detailed explanation…

  • @AnuragKumar-rz5rt
    @AnuragKumar-rz5rt 2 ปีที่แล้ว +33

    Moral of the tutorial is always use Interface.

  • @anishbasu5902
    @anishbasu5902 3 ปีที่แล้ว +5

    tomorrow I have one interview and I'm glad that you released this video just in time...thank a lot:)

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

      Good luck Anish for tomorrow interview 👍🏻

  • @hakeemit
    @hakeemit 8 หลายเดือนก่อน +1

    Great explanation with real time example (Problem and solution in single video).

  • @dhareppasasalatti7102
    @dhareppasasalatti7102 3 ปีที่แล้ว +6

    I was waiting from so long..finally it's here..Thank you so much for this video.. ❤❤

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

    You are great explainer. Through this video, all doubts of Design princeples are gone.

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

    Thanks for sharing. Great explanation.
    Here in Open Close Principle - Open for extension but closed for modification for new features, gives clear meaning than just mentioning closed for modification (because there is always a chance to modify the written code)

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

    waiting from very long time now wait ends and got confiedence and knowledge on solid priniciples.Thank you so much sir

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

    This is the best video, I found explaining SOLID principles. Thanks !

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

    Nicely explained S.O.L.I.D principals through simple code example. 😀

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

    Thank you Sir!!!!!! It is best video for SOLID principle

  • @AbdurRahman-qi6lp
    @AbdurRahman-qi6lp 3 ปีที่แล้ว +2

    Best video and recommended for all❤️

  • @anirudhsingh7832
    @anirudhsingh7832 10 หลายเดือนก่อน +1

    Really happy with this video that's why appreciating it twice. thanks.

  • @UdayKumar-wu2fm
    @UdayKumar-wu2fm 2 หลายเดือนก่อน

    Very nice explanation...you made SOLID principles a cup of cake for us....thanks a lot...

  • @GameCanvas7
    @GameCanvas7 9 หลายเดือนก่อน +1

    One of the best tutorial on youtube 🔥

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

    Great tutorial... Liskov and Interface segregation principles looks exactly same..

  • @gopalwatada9831
    @gopalwatada9831 3 ปีที่แล้ว +3

    Nicely explained with relevant examples

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

    Short and Precise. You made that look easy! Well done!!!!!!!!

  • @surajdeungale2119
    @surajdeungale2119 3 ปีที่แล้ว +3

    Eagerly waiting for your videos as they are worth watching 💯🙏🏻

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

    Very useful concept ...keep going 👏🏻👏🏻👏🏻

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

    @Java Techie: Excellent explanation..👏👏👏👏👏👏

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

    One of the best content on solid

  • @alexgutjahr
    @alexgutjahr 3 ปีที่แล้ว +8

    Great explanation - I really do like how one ends up with much cleaner code and less tight coupling by following the principles, especially the dependency inversion principle!

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

    Awesome video. Great job Java Techie.

  • @harish-wi3ts
    @harish-wi3ts 3 ปีที่แล้ว +2

    I'm waiting for this..from long time ago...
    Thanks sir.🙂👍

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

    A most wanted video... Thank you so much

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

    Best Video on Solid Principle. The explanation with examples really helps to clear the doubts.

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

    You are too good man !
    Thank you soo much for providing this awesome content ❣️🙌

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

    Thanks for explaining everything with examples.

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

    What an explanation it is!!!! Good Job.

  • @DheerajKumar-it3dc
    @DheerajKumar-it3dc 5 หลายเดือนก่อน +1

    Great Explanation, Thank you for making such content.😊

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

    Very very essential concept in microservices. Thanks sir

  • @VivekSharma-vu9yl
    @VivekSharma-vu9yl ปีที่แล้ว +1

    Very nicely explained. Thank you so much sir...

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

    You are the one who makes me understand the LSP. However, I got confused with LSP and ISP. According to LSP, Parent should be completely substitutable with the child, so we create a smaller interface and now child can replace parent. With ISP after segregating interfaces, the child can replace a parent. Can u please comment on this please?

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

    You make everything simple. ✨️ I am learning a lot from your videos. Thank you.

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

    again good explanation from you,thanks you so much

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

    Amazing explaination of each concept
    Thankyou sir 🙏🏽

  • @Arunkumar-vp8rf
    @Arunkumar-vp8rf ปีที่แล้ว +1

    Your explanation very very nice , and after saw your videos i got a clear confident. thank you so much !

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

    Great explnation sir. Thank you so much

  • @KapilSoni-e5m
    @KapilSoni-e5m ปีที่แล้ว

    What an explanation sir.!! Big thanks to you for explaining this confusing topic in that much simpler way.

  • @himanshutripathi5043
    @himanshutripathi5043 10 หลายเดือนก่อน +1

    Thank You Bro best real-time example to explain 🤢😎

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

    Your r great and easy explanation please continue java techie 👍👍👍👍👍👍👍👍👍👍👍

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

    i just found this video too late, but, its refreshing!

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

    Super Explanation !!! Hats off to you !!

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

    a very nice content delivered again by you Sir.. lots of love

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

    Great work by Java Techie

  • @ManojKumar-do1rh
    @ManojKumar-do1rh 9 หลายเดือนก่อน +1

    Great explanation ... one of best tutorial

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

    Best explanation on youtube

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

    Thanks for sharing this video with clear examples!

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

    Thank you so much for the clear explanation Sir.

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

    great nice example solid priciple

  • @Jilani-i4q
    @Jilani-i4q 11 หลายเดือนก่อน +1

    Hi Basant, Gave fantastic explanation. you are my best in Java Concepts session. Your all videos are AWESOME. thanks for your great and beautiful sessions. In My career growth , you are also a Part of it. Thanks once again.

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

      I am so glad to hear this keep learning brother 😊

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

    Thanks for this..The explanation was great

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

    Thank you plz keep going
    We all need you

  • @AkashGupta-jb7zj
    @AkashGupta-jb7zj ปีที่แล้ว +1

    Great examples used!! 🙌🙌

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

    The video that i can watch and rewatch and feel excited about learning these principles. Thanks Bassant, it did help a lot bro.

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

    Thanks for making this video... ... I was into multiple videos to learn solid design principles.. . But ur video is direct and very easy to grasp the concept

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

    Awesome explanation 👏

  • @pawankumar-ez9mf
    @pawankumar-ez9mf 2 ปีที่แล้ว +1

    Awesome video, keep it up good work

  • @AM-fb6dd
    @AM-fb6dd 2 ปีที่แล้ว +1

    Thank you very much for sharing this video. This is the best version to understand SOLID with examples so far after I looked at a few different ones. Thank you!!

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

      Thanks buddy 😊

  • @ahmadazeem7785
    @ahmadazeem7785 5 หลายเดือนก่อน +1

    Your explanations are just amazing ✨

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

    Excellent explanation . Thank you very much for sharing your knowledge

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

    Great Explanation, Thanks a lot sir

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

    solid principle explanation at its best.

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

    Your videos are really solid man (pun intended), thank you so much for taking the time to make these & post them!

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

      Thanks buddy 😊

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

    Great Explanation on SOLID

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

    Nicely explained ..
    Thank you 😀

  • @vengateshm2122
    @vengateshm2122 3 ปีที่แล้ว +11

    Even a Layman can understand this topic as you have taken the payment related usescases which is heavily used by people from all sorts of life.

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

    Thank you, this was amazing explanation.

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

    Great concept always

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

    Thank you Basant for wonderful explanation

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

    Nicely explained. Good job sir! Keep it up.

  • @anirudhsingh7832
    @anirudhsingh7832 10 หลายเดือนก่อน +1

    The video is really useful. Thanks.

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

    great content, great explanation. Thanks.

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

    Good work.. Nice explanation.

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

    Thanks a lot for such a wonderful explained concept

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

    Thanks basit , Best explanation video on SOLID.

    • @Javatechie
      @Javatechie  3 ปีที่แล้ว

      Akhil btw my name Basant not Basit

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

      @@Javatechie thanks Basant

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

    would be great if two seperate videos can be done in a dedicated, sytematic and structured way - one for Java from basics covering all content and 1 - Advanced Java including Java 8 concepts from basic till end. It can be a very length content but it's okay

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

    This is brilliant sir! Thank you!!

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

    Very good explanation.thanks

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

    Awesome explanation, Great work

  • @sivakrishna2544
    @sivakrishna2544 9 หลายเดือนก่อน +1

    ❤❤fantastic explanation

  • @pauly.4507
    @pauly.4507 3 ปีที่แล้ว +1

    Very helpful! Thanks for sharing!

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

    😊 Simplest explanations. Thanks.

  • @SANDIPKUMAR-es7qh
    @SANDIPKUMAR-es7qh 3 ปีที่แล้ว +1

    Nicely explained. Thank you so much !

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

    Thanks for great content Basant.

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

    your are genius Sir it helped alot.

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

    Great explanation on Solid Principle. The explanation with examples really helps to clear the doubts.

  • @SKStudy-nx4pc
    @SKStudy-nx4pc 2 ปีที่แล้ว +1

    Good explanation all points
    Thanks

  • @akashshah6622
    @akashshah6622 9 หลายเดือนก่อน +1

    Fantastic Explaination

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

    Thank you man! I'm preparing for my job application and this video is a big help 🙏🏻 Something college doesn't teach you

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

    Thank you bro for good explanation 🙏. You are such a champ man.

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

    Very nicely explained. Thank you

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

    Hi Basant, thank you so much in explaining in detail

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

      Thanks Nilesh.keep learning

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

    That was really good for me thanks a lot

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

    Very well explained in an easy way.