C# 8.0 supports interface implementation methods, including default interface implementations, which allow you to add new members to a public interface without breaking existing implementers. I am little bit confused that why this change was made. @questpondvideos Could you please explain?
Answer to a question asked at last "Difference between abstract class with all abstract methods and and Interface" is that although both are technically similar but at the time of multiple inheritence abstract class fails, for multiple inheritance we have to implement Interface only. Also I would like to thank you for the video that explains concepts so easily with code examples!
@@adityapathak9999 That means we will have a compile time error. So, technically if we need some implemented + some abstract method then only go ahead with abstract class, otherwise, interfaces.
Master class! Wow 20+ years developing and at last somebody explain things in a simple concrete manner! This is an amazing run down on OOP techniques properly exlained to be used and to answer questions from anybody in IT! Love this video!
How can we inherit the properties of base class from derived class without declaring the object of base class in main() . Can you explain the backend architecture of inheritance Simple and very tough interview questions of Microsoft for 40 lakh per annum question.... Pata sabko hai pura gyan koi kabhi kisi ko nhi deta.... Bataiye
Wow. I did not even notice the 1 hour pass by. This is the best interview prep and the best video that explains OOP concepts by far! Thank you so much.
I had 3 technical interviews today. One of them had very heavy questions on OOP concepts. The interviewer loved my answer about what an interface is, and even admitted that he had a hard time grasping the concept earlier in his career. I passed that interview thanks to this video. I am moving on to the third and final round.
23:54 The Answer can be yes I think because compile-time polymorphism is achieved through method overloading and operator overloading, which do not require inheritance
Sir, I have suggested your videos to nearly 20 people(my friends and colleagues) who were all trying for their next job and they found your videos really helpful. we are forever grateful. Thank you so much :) . And I will keep spreading your channel videos.
An abstract class allows you to create functionality that subclasses can implement or override. An interface only allows you to define functionality, not implement it. And whereas a class can extend only one abstract class, it can take advantage of multiple interfaces.
Best video's ive ever came across that explains concepts so easy. I followed the questions and enrolled on Udemy for the extra questions not covered here, and Cleared my first interview after 15min post interviewing I was called by HR that I got the Job🎉🎉 kudos to you Sir.
your dry wit coupled with your easy to understand explanations makes this video enjoyable to watch! thank you for this, i've finally understood the difference between abstraction and encapsulation and learned couple more things as well. Please keep up the good work!
One thing to notice... When we are talking about method "overriding vs overloading", we should emphasize that method overriding is a runtime polymorphism and method overloading is a compile-time polymorphism. I guess it will be an expected answer in an interview. Finally, thanks for this interview question video. It helps me a lot to gain self-confidence before going to interviews.
but here is the catch he also told that without inheritance polymorphism will not work but you see overloading case which is example of compile time polymorphism is not following the inheritance thing ..I think he confused little bit.😉
One suggestion to viewers....don't skip this video just because you are using different language other than cs....it is one of the best video for oop with proper explanation
Thank you shiv sir for this easiest explanation. Answer to that last question is that : Abstract can't help in multiple inheritance but the Interface can do the multiple inheritance. So in case of any modification to the requirement one can easily modify interface by implementing multiple inheritance.
I am here to recall my concepts and I have seen lots of material pdfs , YT vids and consult with books as well but this video I must say is so accurate and totally concise and delivers exactly what anyone need ! Much Appreciation for you ! Hatts off to your Efforts ! More Power To You ! @Questpond
Thank you! I’m so glad you’re showing real time coding examples while explaining each necessary details. I’m learning a lot from this video. I can’t wait to watch your other videos! Thank you!!!
By far the best video on C# interview I have seen on youtube, how one hour passed I have no idea, your way of teaching is amazing and I can watch your videos for hours...thank you and god bless you.
Awesome way of describing. I have been searching OOP interview question answers but unable to find a great teacher like you. Hurrah.. now I have. Love from Pakistan. Keep doing this great job.
Hi sir, referring to question # 21, you can actually write logic in an interface because C# 8 introduced 'Default Interface Methods' where you can write default logic for interface methods.
I always knew the theory part but when it comes to interview every interviewer was like what's the practical implementation of it and i really found the answer nowhere. thankyou so much for taking efforts and making an awesome video
An Interface contains methods which are by default abstract.But as an abstract class is a partially defined parent class so there is a possibility that it can contain both abstract methods as well as non abstract methods.This is the basic difference between an interface and an abstract class.
//while creating/designing the functions/properties, I am actually implementing abstraction. //What needs to be shown to public and what to keep private is Abstraction. //The Designing process of the Employee class is Abstraction. //The implementation of Employee class is Encapsulation, as we have wrapped up all the functions in //Validate() method. //That's how encapsulation implements abstraction. Am I right?? Time. 13:25
Huge respect for the efforts and time that you and your team have put, the sequence of the questions were very connecting and gradual... Now I have a better concept after watching the video... And for the question you asked at the end of the video... My answer is that abstract classes can be partially or not implemented whereas interfaces should be fully implemented.
For the answer to last query, Even though we write abstract class same as interface, but we cannot do multiple inheritance of the abstract class, whereas we can implement multiple interfaces.
Plus when we are implementing methods of an Interface we don't need to use the "override" keyword, whereas when we are implementing the abstract method of an abstract Class we need to use the "override" keyword.
This is the best one compared any oops languages. Having come from a different language background finally I understood what exactly the concepts clearly and thanks for being realistic about the preparation importance as I was a unprepared hero 😂
Thank you for this. I know you put so much effort and I gladly appreciate it. The way you explain each questions are easy to understand. I subscribed and liked this video. Looking forward to all your videos. :)
Hi sir, referring to your question difference between abstract class and interfaces, the difference is abstract is actually used to write a complete process in which base process might be the same but the corresponding processes might be different and those will be implemented by the derived class for example, I am going to write a process for calculating gratuity for two types of employees permanent and contractual and 1 years gratuity for both of them are 100% net pay and 60% net pay respectively, now calculating gratuity is the purpose but these two implementations will be provided by the derived classes and will be invoked by the abstract class's method. Interface is a means for bounding a class to must have a couple of properties or methods.
Thank you for sharing these with us with practical. Really. We can grasp easily with practical. My ans to ur question: In abstract class, there is non abstract methods also so we don’t have to implement that, only we need to implement abstract methods but in interface, all things we need to implement forcefully. Please tell me this is right or wrong. Once again, thank you so much. Keep going.
30 Important C# Interview Questions : ruclips.net/video/BKynEBPqiIM/видео.html
Software Architecture Interview Questions : ruclips.net/video/AtTgcbLOqMM/видео.html
20+ Garbage Collection (GC) Interview Questions : ruclips.net/video/RgfuVp2lXIA/видео.html
20+ SQL Server Interview Questions : ruclips.net/video/SEdAF8mSKS4/видео.html
10+ Power BI Interview Questions : ruclips.net/video/Cozc9WNBRt4/видео.html
20 MSBI Interview Questions : ruclips.net/video/Nw_sHEKnOUE/видео.html
SQL Server Joins : ruclips.net/video/KTvYHEntvn8/видео.html
SQL Step by Step - ruclips.net/video/uGlfP9o7kmY/видео.html
Angular Step by Step Tutorial for Beginners : ruclips.net/video/-9VcW7MBDs8/видео.html
25 Angular Interview Questions : ruclips.net/video/-jeoyDJDsSM/видео.html
25 Important ASP.NET Interview Questions : ruclips.net/video/pXmMdmJUC0g/видео.html
35 Important JavaScript Interview Questions : ruclips.net/video/Zb4dPi7CANU/видео.html
20 MySQL Interview Questions : ruclips.net/video/9hfjC-BpY20/видео.html
5 MSBI Interview Questions : ruclips.net/video/5E815aXAwYQ/видео.html
20 PHP Interview Questions : ruclips.net/video/1bpNSynUrl8/видео.html
C# 8.0 supports interface implementation methods, including default interface implementations, which allow you to add new members to a public interface without breaking existing implementers.
I am little bit confused that why this change was made. @questpondvideos Could you please explain?
Answer to a question asked at last "Difference between abstract class with all abstract methods and and Interface" is that although both are technically similar but at the time of multiple inheritence abstract class fails, for multiple inheritance we have to implement Interface only.
Also I would like to thank you for the video that explains concepts so easily with code examples!
What is the meaning of "abstract class fails"
@@adityapathak9999 That means we will have a compile time error. So, technically if we need some implemented + some abstract method then only go ahead with abstract class, otherwise, interfaces.
That's true, but can't you go with multi level inheritance among classes and achieve the same.
This video has cleared my biggest confusion related to Encapsulation vs abstraction which I have been facing for over 5 years now. Thanks
Master class! Wow 20+ years developing and at last somebody explain things in a simple concrete manner! This is an amazing run down on OOP techniques properly exlained to be used and to answer questions from anybody in IT! Love this video!
How can we inherit the properties of base class from derived class without declaring the object of base class in main() .
Can you explain the backend architecture of inheritance
Simple and very tough interview questions of Microsoft for 40 lakh per annum question....
Pata sabko hai pura gyan koi kabhi kisi ko nhi deta....
Bataiye
You explained the OOP concepts so clearly in just one hour, something my professor couldn't make me understand in four years!
Thank you so much!
Wow. I did not even notice the 1 hour pass by. This is the best interview prep and the best video that explains OOP concepts by far! Thank you so much.
I had 3 technical interviews today. One of them had very heavy questions on OOP concepts. The interviewer loved my answer about what an interface is, and even admitted that he had a hard time grasping the concept earlier in his career. I passed that interview thanks to this video. I am moving on to the third and final round.
@@jaym4358 Congratulations!!!
@@jaym4358 How was the final round ?
23:54 The Answer can be yes I think because compile-time polymorphism is achieved through method overloading and operator overloading, which do not require inheritance
Sir, I have suggested your videos to nearly 20 people(my friends and colleagues) who were all trying for their next job and they found your videos really helpful. we are forever grateful. Thank you so much :) . And I will keep spreading your channel videos.
did you get the job
Aftter many year (10 years) search on google or youtube, I found best programming concept, What I exactly needed. Thank you @Questpond.
An abstract class allows you to create functionality that subclasses can implement or override. An interface only allows you to define functionality, not implement it. And whereas a class can extend only one abstract class, it can take advantage of multiple interfaces.
Another difference between abstract class and interface is you can't do a dependency injection with abstract class..
Latest version of c# allow interfaces to provide default implementation
@@phelipepalte actually you can.
Best video's ive ever came across that explains concepts so easy. I followed the questions and enrolled on Udemy for the extra questions not covered here, and Cleared my first interview after 15min post interviewing I was called by HR that I got the Job🎉🎉 kudos to you Sir.
your dry wit coupled with your easy to understand explanations makes this video enjoyable to watch! thank you for this, i've finally understood the difference between abstraction and encapsulation and learned couple more things as well. Please keep up the good work!
Thank You :)
One thing to notice... When we are talking about method "overriding vs overloading", we should emphasize that method overriding is a runtime polymorphism and method overloading is a compile-time polymorphism. I guess it will be an expected answer in an interview. Finally, thanks for this interview question video. It helps me a lot to gain self-confidence before going to interviews.
Yes. Also we should talk about method signatures.
but here is the catch he also told that without inheritance polymorphism will not work but you see overloading case which is example of compile time polymorphism is not following the inheritance thing ..I think he confused little bit.😉
@@priyeshdubey40 yup. U r right. In the comment section he has accepted the mistake. Anyway a great video.
@@priyeshdubey40 exactly I thought the same thing
Sir, I have cleared my interview in reputed MNC just by going through your interview videos. thank you so much
Do you have more interview questions
@@rangababupolavarapu517 you can visit www.questpond.com/interview-questions---answers-tutorial/cid63 for interview Q&A videos
hands down the greatest object oriented programming explainer on YT.
Thank you 🙏🙂
One suggestion to viewers....don't skip this video just because you are using different language other than cs....it is one of the best video for oop with proper explanation
Having attended loads of interviews as a c# developer, i can conclude this is the best OOPS tutorial in an interview perspective. Pure GEM.
Really grateful for your feedback , thank you :)
Thank you shiv sir for this easiest explanation. Answer to that last question is that : Abstract can't help in multiple inheritance but the Interface can do the multiple inheritance. So in case of any modification to the requirement one can easily modify interface by implementing multiple inheritance.
Its really underrated channel; I my opinion its by far the best. I am following Questpond since 7 years
This is the best explanation of abstraction vs encapsulation that I've ever heard. Thank you, sir!
You have explained this far better than actual training videos.
I am here to recall my concepts and I have seen lots of material pdfs , YT vids and consult with books as well but this video I must say is so accurate and totally concise and delivers exactly what anyone need ! Much Appreciation for you ! Hatts off to your Efforts ! More Power To You ! @Questpond
Thank You 🙏
Thank you! I’m so glad you’re showing real time coding examples while explaining each necessary details. I’m learning a lot from this video. I can’t wait to watch your other videos! Thank you!!!
Very good video, never paid attention for 1 hour in a RUclips video
By far the best video on C# interview I have seen on youtube, how one hour passed I have no idea, your way of teaching is amazing and I can watch your videos for hours...thank you and god bless you.
Awesome way of describing. I have been searching OOP interview question answers but unable to find a great teacher like you. Hurrah.. now I have. Love from Pakistan. Keep doing this great job.
Best OOPS Interview Questions and Answers on RUclips!
One of best video about oops concepts interview question and answers I come across. Please keep up good work sir👍.
I have cleared interview by referring your videos. Thank you.
Hi sir, referring to question # 21, you can actually write logic in an interface because C# 8 introduced 'Default Interface Methods' where you can write default logic for interface methods.
This is the Best Explanation one could have asked for
Best OOP explanation video in RUclips !
What most anyone can say about this video, it is really awesome. After seeing this i come to know what the purpose of oops concepts
THIS is GOLD, you can easily follow up with any OOP language. thanks sir
🤗
Awesome way to answers the OOP questions. Love from Pakistan 🇵🇰
I always knew the theory part but when it comes to interview every interviewer was like what's the practical implementation of it and i really found the answer nowhere. thankyou so much for taking efforts and making an awesome video
Thanks
Simply superb explanation...thank you @Questpond.
You have a real talent for education and clear explanation. Thank you for all you have given.
Excellent. This is such an easy refresher or explanation of OOPS concepts.
Great video, for understanding OOP concepts not just for C# but also any other language even if they don't support them, (like JavaScript).
Pura vida!
It helps me a lot to get refresh my knowledge after so many work experience, Thank you so much.🙂
An Interface contains methods which are by default abstract.But as an abstract class is a partially defined parent class so there is a possibility that it can contain both abstract methods as well as non abstract methods.This is the basic difference between an interface and an abstract class.
Wah!! What an explanation boss!! Crystal clear explanation... 🙌 really thank you🔥
23:59 Compile time polymorphism can be achieved without inheritance. As an example Method overloading and operator overloading.
Multiple inheritance is what makes interface and abstract class differ from each other when they become technically similar
So right. Thats the only BIG technical difference
@@questpondvideos Thank you.. Your explanations are so good sir 👍
Really a great set of questions. Thoroughly covered all the topics. Thank you sir :)
Best video so far. Clear, right at the point. Im getting the point right away. Thank you for sharing the knowledge sir.😃🙇♂
Very intuitive and clear explanation of the concepts , thanks a lot for sharing. Looking forward to learn more from your videos.
Best explanations! Thank you for this🙏🙌
amazing video,, cleared all the concepts.. Thanks
Awesome sir
It helping me to learn C#❤️
very very detailed and good quality video.
i watched till question 27
Sir your explanation is very systematic.
Sir please upload Question and answer for top 50 C programming coding Question for fresher interview.
I find this Channel You saved My lot of time thanks ❤
You are Best Sir !! Really very helpful
You are awesome... Helped me a lot in the interview.
Thank you for the lesson. I can't tell you how much this helped. I appreciate your effort. Liked and Subscribed!
Very very useful video for us, appreciate your efforts
Thank you so much sir. i really like the way you explain.
//while creating/designing the functions/properties, I am actually implementing abstraction.
//What needs to be shown to public and what to keep private is Abstraction.
//The Designing process of the Employee class is Abstraction.
//The implementation of Employee class is Encapsulation, as we have wrapped up all the functions in
//Validate() method.
//That's how encapsulation implements abstraction.
Am I right?? Time. 13:25
Huge respect for the efforts and time that you and your team have put, the sequence of the questions were very connecting and gradual... Now I have a better concept after watching the video... And for the question you asked at the end of the video... My answer is that abstract classes can be partially or not implemented whereas interfaces should be fully implemented.
An interface only allows you to define functionality, not implement it.
@@yosiosibemekun2785 yeah that's another difference
Excellent material thanks for sharing such an informative video👍🏻
best video for oops in C#
Keep up the great work. Explanation was super easy to understand
thank you sir, along with deeply explaining the concepts you are valuable advised is much appriciated.
thanks, very beneficial video to revise oop concepts.
This is well explained. Thank you bro
amazing content with clear and simple answers, Thanks alot
wonderful, very crispy, specially example taken easy than domian specific
I got a job.I just watched this video for oops concepts 😁
Happy for you mate
Very intuitive and clear explanation of the concepts , thanks a lot for sharing. hope u will make a video for solid principles
Ang Laga dia h sir jee Ap ney. Behtreeeeen🥰🥰🥰
Abstraction is exposing only whatever is necessary outside a class. Encapsulation is binding data and behaviour (methods) together.
Very good point to point.
Thank you sir , it’s very useful 😊
Thank you for making simple topic complicated ♥
You have done great video short and ans to remember in easiest way
Good video. Just 1 correction - interface can contain implementation, which was implemented in c#8.
For the answer to last query,
Even though we write abstract class same as interface, but we cannot do multiple inheritance of the abstract class,
whereas we can implement multiple interfaces.
Plus when we are implementing methods of an Interface we don't need to use the "override" keyword, whereas when we are implementing the abstract method of an abstract Class we need to use the "override" keyword.
This was real great, thank you!
Brilliant explanation! Keep doing more videos!
Very knowledgeable..Thanks
Congrats ur good teacher 🧑🏫
Thanks very much for preparing and explaining stuff in such clear and organised way! :)
You really great at explaining it. Now I understand the OOP more. Thank you so much. ♥️
I like APIE concept! That's pretty helpful! Thank you so mcuh
This is the best one compared any oops languages. Having come from a different language background finally I understood what exactly the concepts clearly and thanks for being realistic about the preparation importance as I was a unprepared hero 😂
Thanks Sir. Much more Appreciated.
Thank you for this. I know you put so much effort and I gladly appreciate it. The way you explain each questions are easy to understand.
I subscribed and liked this video. Looking forward to all your videos. :)
Hi sir, referring to your question difference between abstract class and interfaces, the difference is abstract is actually used to write a complete process in which base process might be the same but the corresponding processes might be different and those will be implemented by the derived class for example, I am going to write a process for calculating gratuity for two types of employees permanent and contractual and 1 years gratuity for both of them are 100% net pay and 60% net pay respectively, now calculating gratuity is the purpose but these two implementations will be provided by the derived classes and will be invoked by the abstract class's method. Interface is a means for bounding a class to must have a couple of properties or methods.
This video is definitely a 🫂 for any interview 🥳
Thanks for making such content 🙏
Really awesome, thank u so much 🎉
Thanks for this video, you explain very well about OOP concepts and your presentation skills are too good. Well done and keep it up.
I watched the whole video @Questpond
Thank you for sharing these with us with practical. Really. We can grasp easily with practical. My ans to ur question: In abstract class, there is non abstract methods also so we don’t have to implement that, only we need to implement abstract methods but in interface, all things we need to implement forcefully. Please tell me this is right or wrong. Once again, thank you so much. Keep going.
very helpful, thank you! 👍👍
Thanks for the video, it was very helpful!
Waiting for this video sir thanks for sharing
Excellent work guru ji, maja hi aa gya. or videos banayeeye python par