SOLID Design Principles in java with Example | JavaTechie
Ғылым және технология
In this tutorial we will discuss about SOLID principle and its importance in Software development
Key contents
SOLID Introduction
What is SOLID Acronym
SOLID design principles
SOLID Acronym
S : Single Responsibility Principle (SRP)
O : Open closed Principle (OSP)
L : Liskov substitution Principle (LSP)
I : Interface Segregation Principle (ISP)
D : Dependency Inversion Principle (DIP)
▬▬▬▬▬▬ T I M E S T A M P S ⏰ ▬▬▬▬▬▬
0:01 - SOLID full form
1:27 - Single Responsibility Principle
5:10 - Open Closed Principle
10:46 - Liskov Substitution Principle
19:46 - Interface Segregation Principle
25:54 - Dependency Inversion Principle
#javatechie #Java #SOLID #DesignPattern
GitHub:
github.com/Java-Techie-jt/sol...
Blogs:
/ javatechie
SOLID : medium.com/@javatechie?p=ae96...
Facebook:
/ 919464521471923
guys if you like this video please do subscribe now and press the bell icon to not miss any update from Java Techie
Disclaimer/Policy:
--------------------------------
Note : All uploaded content in this channel is mine and its not copied from any community , you are free to use source code from above mentioned GitHub account
Пікірлер: 270
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
Java Techie is a great guy. His explanations are always on point.
Moral of the tutorial is always use Interface.
@Victor-gj7pi
7 ай бұрын
😂😂😂
@gadinaresh5458
4 ай бұрын
🤣🤣🤣
@rishiraj2548
2 ай бұрын
😄
@vijayhirapara7391
Ай бұрын
With single method only😊
The best explanation I found on SOLID with practical examples!!!
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
2 жыл бұрын
yes i agree..!
@latifkhan535
2 жыл бұрын
@@girishahirrao5558 there should be some difference, may be basant missed to explain
@shilpasingla1739
Жыл бұрын
Even I am thinking same liskov and interface segregation are same from example point of view...can you please explain sir
@gowthamdasari6227
Жыл бұрын
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
Жыл бұрын
@@gowthamdasari6227 Thanks bro so much for the detailed explanation…
You are great explainer. Through this video, all doubts of Design princeples are gone.
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!
This is the best video, I found explaining SOLID principles. Thanks !
Short and Precise. You made that look easy! Well done!!!!!!!!
Thanks for sharing this video with clear examples!
You make everything simple. ✨️ I am learning a lot from your videos. Thank you.
Very well explained with great examples. Thank a lot for this video
Great explanation with real time example (Problem and solution in single video).
waiting from very long time now wait ends and got confiedence and knowledge on solid priniciples.Thank you so much sir
I was waiting from so long..finally it's here..Thank you so much for this video.. ❤❤
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
A most wanted video... Thank you so much
Very helpful! Thanks for sharing!
Nicely explained with relevant examples
Thank you man! I'm preparing for my job application and this video is a big help 🙏🏻 Something college doesn't teach you
Very very essential concept in microservices. Thanks sir
I'm waiting for this..from long time ago... Thanks sir.🙂👍
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
2 жыл бұрын
Thanks buddy 😊
Excellent explanation . Thank you very much for sharing your knowledge
Great work Sir! Keep creating such videos that deal with the core language functionality. All the best for your future endeavors
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)
Well explained, with meaningful examples 👍
Nicely explained. Thank you so much !
Nicely explained S.O.L.I.D principals through simple code example. 😀
Eagerly waiting for your videos as they are worth watching 💯🙏🏻
😊 Simplest explanations. Thanks.
Thanks for explaining everything with examples.
Thank you sir , amazing explanation 🔥
tomorrow I have one interview and I'm glad that you released this video just in time...thank a lot:)
@Javatechie
2 жыл бұрын
Good luck Anish for tomorrow interview 👍🏻
Amazing explaination of each concept Thankyou sir 🙏🏽
Really happy with this video that's why appreciating it twice. thanks.
Great work. Your explanation is really easy to understand.
Awesome video. Great job Java Techie.
Thank you Basant for wonderful explanation
Thank you Sir!!!!!! It is best video for SOLID principle
Really great explanation, ur all videos are understandable effortlessely.. Thanks
Best Video on Solid Principle. The explanation with examples really helps to clear the doubts.
@Javatechie
2 жыл бұрын
Thanks Raj 🙂
The video that i can watch and rewatch and feel excited about learning these principles. Thanks Bassant, it did help a lot bro.
Thanks a lot for such a wonderful explained concept
What an explanation sir.!! Big thanks to you for explaining this confusing topic in that much simpler way.
Super Explanation !!! Hats off to you !!
Thank you, this was amazing explanation.
T hank you so much for the SOLID principle
One of the best tutorial on youtube 🔥
Very useful concept ...keep going 👏🏻👏🏻👏🏻
Thank you for such a nice tutorial.
Thank you for such a great video 👍
Great explanation on Solid Principle. The explanation with examples really helps to clear the doubts.
@Javatechie
2 жыл бұрын
Thanks buddy
Very nicely explained. Thank you
Thank you so much for the clear explanation Sir.
Great Explanation on SOLID
Very well explained in an easy way.
Thanks for this..The explanation was great
I really like the examples that you provide
What an explanation it is!!!! Good Job.
Best video and recommended for all❤️
Great examples used!! 🙌🙌
This is brilliant sir! Thank you!!
Awesome explanation, Great work
i just found this video too late, but, its refreshing!
Great explnation sir. Thank you so much
Thank you, to the point!
@Java Techie: Excellent explanation..👏👏👏👏👏👏
Nicely explained .. Thank you 😀
Thank you plz keep going We all need you
great video many thanks🙏
The video is really useful. Thanks.
Great work by Java Techie
Your videos are really solid man (pun intended), thank you so much for taking the time to make these & post them!
@Javatechie
2 жыл бұрын
Thanks buddy 😊
Your r great and easy explanation please continue java techie 👍👍👍👍👍👍👍👍👍👍👍
Very nicely explained. Thank you so much sir...
Excellent presentation, thanks
Your explanation very very nice , and after saw your videos i got a clear confident. thank you so much !
Great explanation, thank you
One of the best content on solid
Great explanation ... one of best tutorial
again good explanation from you,thanks you so much
Great video man
@Javatechie
2 жыл бұрын
Thanks buddy
Great Explanation, Thanks a lot sir
Excellent tutorial !
great nice example solid priciple
great content, great explanation. Thanks.
Thank you sir.. Thanks for making the content free ppl like us can get all great content related to java at one place 👍👍
@Javatechie
2 жыл бұрын
Thanks. Manoj
Nicely explained. Good job sir! Keep it up.
solid principle explanation at its best.
Great tutorial... Liskov and Interface segregation principles looks exactly same..
Thanks for great content Basant.
Thank You Bro best real-time example to explain 🤢😎
❤❤fantastic explanation
Very good explanation.thanks
Great work !!
Good explanation all points Thanks
Best explanation on youtube
Fantastic Explaination
very nice explanation and clear understanding of each topic. Thank you java Techie
@Javatechie
2 жыл бұрын
Thanks Chaitanya 😊