This is the one abstract class video that actually makes sense to me thank you
@zeenatfirdoshquadri1699 Жыл бұрын
months of confusion minutes of solution... thanku its very lucid
@interviewhappy Жыл бұрын
welcome Zeenat. All the best for your career.
@voice-over40894 ай бұрын
Many years and 100's of videos trying to undertsand this. Thank you.
@interviewhappy4 ай бұрын
You're very welcome
@DrEgypt-he4sw8 ай бұрын
"Thank you for the video and all your hard work! I noticed at 6:01 you said, 'Normally we prefer Interfaces because it gives us the flexibility to modify the behavior at a later stage.' I think you might have meant to say abstract classes. Although interfaces can be changed later, there's a problem because every time you add a new method to the interface, all the classes that use this interface have to be updated to include this new method. That can cause a lot of extra work.
@aritrachakraborty66586 ай бұрын
Abstract class can contain class fields but interface cannot contain class fields
@naveenbaghel5327 Жыл бұрын
I have no word for your knowledge, awesome happy rawat ji
@interviewhappy Жыл бұрын
Thanks a lot Naveen
@mounikanimma189 Жыл бұрын
Super anna... excellent keep going do all videos anna we will support you
@armaankhan6624 Жыл бұрын
exactly what people look for 👍🏼
@interviewhappy Жыл бұрын
Thanks Armaan. May your achiever all your career "armans".
@akshaydaundkar1417 Жыл бұрын
Excellent 👌 After watching lots of difference, now I get clear idea 💡 about it... Thank you 👍
@divyapriya4324 Жыл бұрын
Abstract class : It is declared as abstract keyword. It has both abstract and not abstract method. It has both declaration and definition. Default scope of member is private. Multiple inherence is not supported. It can have constructor Interface: It is declared as interface keyword. It has only abstract method. It has only declaration. Default scope of member is public It supports Multiple inherence. It does not have constructor.
@kumaravelg234810 ай бұрын
Use of inheritance is reuse code but when we use interface for multiple inheritance we need to write method body in each derived class. Pls clarify my doubt
@ManojKumarThatipiGari6 ай бұрын
very nice explanation, Thanks to you !!
@superkfc5410 Жыл бұрын
Great video! Thank you for the splendid explanation!
@interviewhappy Жыл бұрын
Glad it was helpful! @super
@nityanandbhangale24097 ай бұрын
Sir please video in hindi on why we need to create abstract class TCS interview question.
@atulkrjha Жыл бұрын
But in your example you use public access modifier in interfaces. I think we cannot use public access modifiers in interfaces.
@interviewhappy Жыл бұрын
yes you can like this, public interface IExampleInterface
@grijanantony6248 Жыл бұрын
amazing bro keep rocking
@interviewhappy Жыл бұрын
Thanks @grijan
@faizanansari7584 Жыл бұрын
Why have you hidden 19 videos?
@PraveenKumar-um2tx Жыл бұрын
Sir First point clear nhi huva.. Ki new feature m hum method body interface and abstract class m use kar sakte h.. Phir ye man ley ki new feature k ane pr first difference jo aap ne btya h vo exclude hai?
@paulh1720 Жыл бұрын
thank you for excellent content - exactly what people needed here
@iliashterev38 Жыл бұрын
Hello and Thank you for this tutorial. I think methods in interface can not have accessors, like public, etc.
@JrJd-vr1hm3 ай бұрын
It is just about regular example, not a real application ???
@jemisArt3 ай бұрын
Yeah In real application we use interface.
@prasadpatil999711 ай бұрын
Thank you for clear my query
@interviewhappy11 ай бұрын
Always welcome
@shahrukhchaus0000 Жыл бұрын
Exactly what for I was looking 👍 thanks
@srikant67 Жыл бұрын
Awesome stuff
@Gauravkumar-jm4ve Жыл бұрын
very good
@interviewhappy Жыл бұрын
Thanks Gaurav and all the best for your career
@s.devaraj20963 ай бұрын
Design patterern upload video
@shubhamshinde68188 ай бұрын
4 year full stack .net developer ko kitna package hona chahiye
@amanshukla6500 Жыл бұрын
but the interface now can have constructor
@VirendraKumar-dg5qh11 ай бұрын
if abstract class contain constructor but abstract class can not be initiated. then use this constructor?
@PalashBansal11 ай бұрын
derived class instantiation calls it first before calling derived's own constructor. Opposite sequence for destructor.
@niteshgupta5901 Жыл бұрын
Thank you so much 🙏🏽🙏🏽🎉🎉
@interviewhappy Жыл бұрын
You are so welcome my friend @niteshgupta5901
@AdityaKumar-hb9fi4 ай бұрын
Now interface also contain implementation. Not worth to watch.
@026maheshkumars7 Жыл бұрын
Thankyou so much
@Funfun96_210 ай бұрын
Thank you
@interviewhappy10 ай бұрын
You're welcome
@cormackeenan8175 Жыл бұрын
Thank you for your video, I found it very clear in explanation, but without wishing to be rude, your pronunciation of “methods” sounds like “matters” and I had to turn on captions to understand what you were saying 🤷♂️
@interviewhappy Жыл бұрын
@Cormac, well noted, will try to be more clear with the sound :)