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.
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.
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)
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!
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?
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.
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
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!!
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
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.
This man understands everything in java from basics to advanced, Thank you JavaTEchie
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.
yes i agree..!
@@girishahirrao5558 there should be some difference, may be basant missed to explain
Even I am thinking same liskov and interface segregation are same from example point of view...can you please explain sir
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.
@@gowthamdasari6227 Thanks bro so much for the detailed explanation…
Moral of the tutorial is always use Interface.
😂😂😂
🤣🤣🤣
😄
With single method only😊
😂😂😂
tomorrow I have one interview and I'm glad that you released this video just in time...thank a lot:)
Good luck Anish for tomorrow interview 👍🏻
Great explanation with real time example (Problem and solution in single video).
I was waiting from so long..finally it's here..Thank you so much for this video.. ❤❤
You are great explainer. Through this video, all doubts of Design princeples are gone.
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)
waiting from very long time now wait ends and got confiedence and knowledge on solid priniciples.Thank you so much sir
This is the best video, I found explaining SOLID principles. Thanks !
Nicely explained S.O.L.I.D principals through simple code example. 😀
Thank you Sir!!!!!! It is best video for SOLID principle
Best video and recommended for all❤️
Really happy with this video that's why appreciating it twice. thanks.
Very nice explanation...you made SOLID principles a cup of cake for us....thanks a lot...
One of the best tutorial on youtube 🔥
Great tutorial... Liskov and Interface segregation principles looks exactly same..
Nicely explained with relevant examples
Short and Precise. You made that look easy! Well done!!!!!!!!
Eagerly waiting for your videos as they are worth watching 💯🙏🏻
Very useful concept ...keep going 👏🏻👏🏻👏🏻
@Java Techie: Excellent explanation..👏👏👏👏👏👏
One of the best content on solid
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!
Awesome video. Great job Java Techie.
I'm waiting for this..from long time ago...
Thanks sir.🙂👍
A most wanted video... Thank you so much
Best Video on Solid Principle. The explanation with examples really helps to clear the doubts.
Thanks Raj 🙂
You are too good man !
Thank you soo much for providing this awesome content ❣️🙌
Thanks for explaining everything with examples.
What an explanation it is!!!! Good Job.
Great Explanation, Thank you for making such content.😊
Very very essential concept in microservices. Thanks sir
Very nicely explained. Thank you so much sir...
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?
You make everything simple. ✨️ I am learning a lot from your videos. Thank you.
again good explanation from you,thanks you so much
Amazing explaination of each concept
Thankyou sir 🙏🏽
Your explanation very very nice , and after saw your videos i got a clear confident. thank you so much !
Great explnation sir. Thank you so much
What an explanation sir.!! Big thanks to you for explaining this confusing topic in that much simpler way.
Thank You Bro best real-time example to explain 🤢😎
Your r great and easy explanation please continue java techie 👍👍👍👍👍👍👍👍👍👍👍
i just found this video too late, but, its refreshing!
Super Explanation !!! Hats off to you !!
a very nice content delivered again by you Sir.. lots of love
Great work by Java Techie
Great explanation ... one of best tutorial
Best explanation on youtube
Thanks for sharing this video with clear examples!
Thank you so much for the clear explanation Sir.
great nice example solid priciple
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.
I am so glad to hear this keep learning brother 😊
Thanks for this..The explanation was great
Thank you plz keep going
We all need you
Great examples used!! 🙌🙌
The video that i can watch and rewatch and feel excited about learning these principles. Thanks Bassant, it did help a lot bro.
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
Awesome explanation 👏
Awesome video, keep it up good work
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!!
Thanks buddy 😊
Your explanations are just amazing ✨
Excellent explanation . Thank you very much for sharing your knowledge
Great Explanation, Thanks a lot sir
solid principle explanation at its best.
Your videos are really solid man (pun intended), thank you so much for taking the time to make these & post them!
Thanks buddy 😊
Great Explanation on SOLID
Nicely explained ..
Thank you 😀
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.
☺️👍🏻
Thank you, this was amazing explanation.
Great concept always
Thank you Basant for wonderful explanation
Nicely explained. Good job sir! Keep it up.
The video is really useful. Thanks.
great content, great explanation. Thanks.
Good work.. Nice explanation.
Thanks a lot for such a wonderful explained concept
Thanks basit , Best explanation video on SOLID.
Akhil btw my name Basant not Basit
@@Javatechie thanks Basant
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
This is brilliant sir! Thank you!!
Very good explanation.thanks
Awesome explanation, Great work
❤❤fantastic explanation
Very helpful! Thanks for sharing!
😊 Simplest explanations. Thanks.
Nicely explained. Thank you so much !
Thanks for great content Basant.
your are genius Sir it helped alot.
Great explanation on Solid Principle. The explanation with examples really helps to clear the doubts.
Thanks buddy
Good explanation all points
Thanks
Fantastic Explaination
Thank you man! I'm preparing for my job application and this video is a big help 🙏🏻 Something college doesn't teach you
Thank you bro for good explanation 🙏. You are such a champ man.
Thanks buddy
Very nicely explained. Thank you
Hi Basant, thank you so much in explaining in detail
Thanks Nilesh.keep learning
That was really good for me thanks a lot
Very well explained in an easy way.