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!
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.
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 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
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?
Just one word, thanks a lot sir🙂 you really explain things so well. Pls help with oauth2 integration in Microservices built using springboot from scratch sir pls pls
Have seen the video, its so informative. Thanks sir. Is it DS and algo to be perfect to get into prod based? Most of us use frameworks which already built and ready to use. Im thinking to switch, but getting hold back with fear of ds as im not that great at it.
Thanks for providing a clear explanation. All the 4 principles except single responsibility principle, somehow we are using interface to perform the principles. So we need to use an interface to achieve all these. Correct me if I am wrong
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
I appreciate your effort, i follow your videos to upgrade my knowledge bank, but The Lisklov Substitution Principle example is Interface Segregation Principle example.
Thanks for the your view. you explained well but i didn't find the difference between Liskov Substitution principle and Interface segregation Principle.
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
If you watch this once patiently, you will come to know what is real world programming is. So nicely explained. thank you Boss.
Moral of the tutorial is always use Interface.
😂😂😂
🤣🤣🤣
😄
With single method only😊
😂😂😂
The best explanation I found on SOLID with practical examples!!!
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).
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…
I was waiting from so long..finally it's here..Thank you so much for this video.. ❤❤
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
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 !
Best Video on Solid Principle. The explanation with examples really helps to clear the doubts.
Thanks Raj 🙂
One of the best tutorial on youtube 🔥
a very nice content delivered again by you Sir.. lots of love
One of the best content on solid
Nicely explained S.O.L.I.D principals through simple code example. 😀
You are too good man !
Thank you soo much for providing this awesome content ❣️🙌
Great tutorial... Liskov and Interface segregation principles looks exactly same..
Your explanation very very nice , and after saw your videos i got a clear confident. thank you so much !
Best video and recommended for all❤️
Eagerly waiting for your videos as they are worth watching 💯🙏🏻
@Java Techie: Excellent explanation..👏👏👏👏👏👏
Very nice explanation...you made SOLID principles a cup of cake for us....thanks a lot...
Short and Precise. You made that look easy! Well done!!!!!!!!
The video that i can watch and rewatch and feel excited about learning these principles. Thanks Bassant, it did help a lot bro.
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.
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 😊
Really happy with this video that's why appreciating it twice. thanks.
Awesome explanation 👏
Thank you Sir!!!!!! It is best video for SOLID principle
Best explanation on youtube
Great Explanation, Thank you for making such content.😊
I'm waiting for this..from long time ago...
Thanks sir.🙂👍
You make everything simple. ✨️ I am learning a lot from your videos. Thank you.
What an explanation sir.!! Big thanks to you for explaining this confusing topic in that much simpler way.
Your r great and easy explanation please continue java techie 👍👍👍👍👍👍👍👍👍👍👍
What an explanation it is!!!! Good Job.
Nicely explained with relevant examples
i just found this video too late, but, its refreshing!
Thank You Bro best real-time example to explain 🤢😎
Thanks for explaining everything with examples.
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 😊
Great work by Java Techie
Amazing explaination of each concept
Thankyou sir 🙏🏽
Very useful concept ...keep going 👏🏻👏🏻👏🏻
Your explanations are just amazing ✨
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
Very very essential concept in microservices. Thanks sir
@java Techic the 2,3 and 4 principles are looking identical?
Great examples used!! 🙌🙌
Great explnation sir. Thank you so much
Your videos are really solid man (pun intended), thank you so much for taking the time to make these & post them!
Thanks buddy 😊
Very nicely explained. Thank you so much sir...
Thank you so much for the clear explanation Sir.
A most wanted video... Thank you so much
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?
Thank you plz keep going
We all need you
Great explanation on Solid Principle. The explanation with examples really helps to clear the doubts.
Thanks buddy
again good explanation from you,thanks you so much
Great explanation ... one of best tutorial
Super Explanation !!! Hats off to you !!
great nice example solid priciple
Thanks for sharing this video with clear examples!
solid principle explanation at its best.
Awesome video, keep it up good work
Thanks for this..The explanation was great
Great concept always
Just one word, thanks a lot sir🙂 you really explain things so well.
Pls help with oauth2 integration in Microservices built using springboot from scratch sir pls pls
Hello sreddy it's already there in my spring boot security playlist
@@Javatechie thanks sir. Will go through it. 🙂
Have seen the video, its so informative. Thanks sir. Is it DS and algo to be perfect to get into prod based?
Most of us use frameworks which already built and ready to use. Im thinking to switch, but getting hold back with fear of ds as im not that great at it.
Nicely explained ..
Thank you 😀
Great Explanation, Thanks a lot sir
Thank you bro for good explanation 🙏. You are such a champ man.
Thanks buddy
Good content bro.
your are genius Sir it helped alot.
❤❤fantastic explanation
Excellent explanation . Thank you very much for sharing your knowledge
Great Explanation on SOLID
Thanks for providing a clear explanation. All the 4 principles except single responsibility principle, somehow we are using interface to perform the principles. So we need to use an interface to achieve all these. Correct me if I am wrong
Correct 💯
Thank you for your response
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
I appreciate your effort, i follow your videos to upgrade my knowledge bank, but The Lisklov Substitution Principle example is Interface Segregation Principle example.
It looks the same but the context is different i would suggest you check it again
Great Explanation 🎉
Good work.. Nice explanation.
Very good explanation.thanks
Good explanation all points
Thanks
Explained very clearly
Thank you sir..
Thanks for making the content free ppl like us can get all great content related to java at one place 👍👍
Thanks. Manoj
Thanks for the your view. you explained well but i didn't find the difference between Liskov Substitution principle and Interface segregation Principle.
As I mentioned it looks same but the context is different
Nicely explained. Good job sir! Keep it up.
That was really good for me thanks a lot
Thanks for great content Basant.
The video is really useful. Thanks.
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, this was amazing explanation.
Thanks basit , Best explanation video on SOLID.
Akhil btw my name Basant not Basit
@@Javatechie thanks Basant
Thanks! Though your pronunciation should be improved little bit.
i know it is going to be a great video the moment i first hear the accent