OOPS Interview Questions and Answers | Object Oriented Programming Interview Questions C#

  Рет қаралды 677,804

Questpond

Questpond

Күн бұрын

Пікірлер: 434
@questpondvideos
@questpondvideos 2 жыл бұрын
30 Important C# Interview Questions : kzbin.info/www/bejne/eHzcn3h4hdacf68 Software Architecture Interview Questions : kzbin.info/www/bejne/d6W3mJaYgbSkg68 20+ Garbage Collection (GC) Interview Questions : kzbin.info/www/bejne/iJjJpommZ9GLf6M 20+ SQL Server Interview Questions : kzbin.info/www/bejne/iXbHcnluorh-iZY 10+ Power BI Interview Questions : kzbin.info/www/bejne/eaDdlGyNg6eFqpY 20 MSBI Interview Questions : kzbin.info/www/bejne/hKjCpHt7gNOCi6c SQL Server Joins : kzbin.info/www/bejne/gYXZint7o9mppJo SQL Step by Step - kzbin.info/www/bejne/q3jPl4NvpJyeo7s Angular Step by Step Tutorial for Beginners : kzbin.info/www/bejne/Y2q5lIptgqd3qZo 25 Angular Interview Questions : kzbin.info/www/bejne/Y5vIoKx6f6mmia8 25 Important ASP.NET Interview Questions : kzbin.info/www/bejne/ponQfpejf7p2Zsk 35 Important JavaScript Interview Questions : kzbin.info/www/bejne/kJOXlYOfbKh0hLc 20 MySQL Interview Questions : kzbin.info/www/bejne/b5nJm3Zjd9WMaJI 5 MSBI Interview Questions : kzbin.info/www/bejne/a3abYmiXjaaqj7M 20 PHP Interview Questions : kzbin.info/www/bejne/Z5PTf4avo7qlopo
@digital.voyager
@digital.voyager 8 ай бұрын
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?
@anshulasri152
@anshulasri152 11 ай бұрын
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
@adityapathak9999 6 ай бұрын
What is the meaning of "abstract class fails"
@SHIVAML987
@SHIVAML987 6 ай бұрын
@@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.
@hassanadil3535
@hassanadil3535 2 ай бұрын
That's true, but can't you go with multi level inheritance among classes and achieve the same.
@nikhilkohirlyakaji
@nikhilkohirlyakaji 2 жыл бұрын
This video has cleared my biggest confusion related to Encapsulation vs abstraction which I have been facing for over 5 years now. Thanks
@dominiquez5643
@dominiquez5643 Жыл бұрын
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!
@Anuj_sk
@Anuj_sk 5 ай бұрын
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
@AashuKun
@AashuKun 3 ай бұрын
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!
@jaym4358
@jaym4358 2 жыл бұрын
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.
@jaym4358
@jaym4358 2 жыл бұрын
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.
@Father_Of_Sudeera_Muthusinghe
@Father_Of_Sudeera_Muthusinghe 2 жыл бұрын
@@jaym4358 Congratulations!!!
@pranav288
@pranav288 2 жыл бұрын
@@jaym4358 How was the final round ?
@svb651
@svb651 2 ай бұрын
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
@vinothrajendran858
@vinothrajendran858 2 жыл бұрын
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.
@danyahsan3958
@danyahsan3958 7 ай бұрын
did you get the job
@hemantvitthal3732
@hemantvitthal3732 2 жыл бұрын
Aftter many year (10 years) search on google or youtube, I found best programming concept, What I exactly needed. Thank you @Questpond.
@sridhargana155
@sridhargana155 2 жыл бұрын
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.
@phelipepalte
@phelipepalte Жыл бұрын
Another difference between abstract class and interface is you can't do a dependency injection with abstract class..
@jestem-kses
@jestem-kses Жыл бұрын
Latest version of c# allow interfaces to provide default implementation
@bosegeorge1425
@bosegeorge1425 11 ай бұрын
​@@phelipepalte actually you can.
@sunrise7442
@sunrise7442 2 жыл бұрын
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.
@seijumimurasakibara5516
@seijumimurasakibara5516 9 ай бұрын
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!
@questpondvideos
@questpondvideos 9 ай бұрын
Thank You :)
@Father_Of_Sudeera_Muthusinghe
@Father_Of_Sudeera_Muthusinghe 2 жыл бұрын
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.
@shreyaspatil24
@shreyaspatil24 2 жыл бұрын
Yes. Also we should talk about method signatures.
@priyeshdubey40
@priyeshdubey40 2 жыл бұрын
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.😉
@Father_Of_Sudeera_Muthusinghe
@Father_Of_Sudeera_Muthusinghe 2 жыл бұрын
@@priyeshdubey40 yup. U r right. In the comment section he has accepted the mistake. Anyway a great video.
@gazalkaintura2605
@gazalkaintura2605 Жыл бұрын
@@priyeshdubey40 exactly I thought the same thing
@lavanyaguniganti1444
@lavanyaguniganti1444 2 жыл бұрын
Sir, I have cleared my interview in reputed MNC just by going through your interview videos. thank you so much
@rangababupolavarapu517
@rangababupolavarapu517 2 жыл бұрын
Do you have more interview questions
@questpondvideos
@questpondvideos 2 жыл бұрын
@@rangababupolavarapu517 you can visit www.questpond.com/interview-questions---answers-tutorial/cid63 for interview Q&A videos
@grc04
@grc04 29 күн бұрын
hands down the greatest object oriented programming explainer on YT.
@questpondvideos
@questpondvideos 28 күн бұрын
Thank you 🙏🙂
@vedantkulkarni5437
@vedantkulkarni5437 Жыл бұрын
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
@abhishek.eswarappa
@abhishek.eswarappa Ай бұрын
Having attended loads of interviews as a c# developer, i can conclude this is the best OOPS tutorial in an interview perspective. Pure GEM.
@questpondvideos
@questpondvideos Ай бұрын
Really grateful for your feedback , thank you :)
@lekhrajawasthi8272
@lekhrajawasthi8272 Жыл бұрын
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.
@mariahaamir171
@mariahaamir171 2 жыл бұрын
Its really underrated channel; I my opinion its by far the best. I am following Questpond since 7 years
@omarcollazo5011
@omarcollazo5011 11 ай бұрын
This is the best explanation of abstraction vs encapsulation that I've ever heard. Thank you, sir!
@stepbackandthink
@stepbackandthink Жыл бұрын
You have explained this far better than actual training videos.
@hirajabeen9681
@hirajabeen9681 8 ай бұрын
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
@questpondvideos
@questpondvideos 8 ай бұрын
Thank You 🙏
@tcv85
@tcv85 2 жыл бұрын
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!!!
@hassanadil3535
@hassanadil3535 2 ай бұрын
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.
@panic_seller
@panic_seller Жыл бұрын
Very good video, never paid attention for 1 hour in a KZbin video
@automationselenium1331
@automationselenium1331 2 жыл бұрын
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.
@raoadnan442
@raoadnan442 2 жыл бұрын
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.
@PabloMartinezfr
@PabloMartinezfr 2 жыл бұрын
Best OOPS Interview Questions and Answers on KZbin!
@gopavarapuguruprasad
@gopavarapuguruprasad Жыл бұрын
One of best video about oops concepts interview question and answers I come across. Please keep up good work sir👍.
@suprabhat7582
@suprabhat7582 5 ай бұрын
I have cleared interview by referring your videos. Thank you.
@naseerhussain5272
@naseerhussain5272 2 жыл бұрын
This is the Best Explanation one could have asked for
@binayashrestha4131
@binayashrestha4131 2 жыл бұрын
Best OOP explanation video in KZbin !
@kingfisher3791
@kingfisher3791 2 жыл бұрын
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
@natnaelhabtamu2799
@natnaelhabtamu2799 2 жыл бұрын
THIS is GOLD, you can easily follow up with any OOP language. thanks sir 🤗
@AzeemRaavi
@AzeemRaavi 2 жыл бұрын
Awesome way to answers the OOP questions. Love from Pakistan 🇵🇰
@jankichalise904
@jankichalise904 9 ай бұрын
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
@govindgupta1874
@govindgupta1874 2 жыл бұрын
Thanks
@ShankarV-te7le
@ShankarV-te7le Жыл бұрын
Simply superb explanation...thank you @Questpond.
@fernandod3510
@fernandod3510 2 жыл бұрын
You have a real talent for education and clear explanation. Thank you for all you have given.
@rajeshmacpant
@rajeshmacpant 2 жыл бұрын
Excellent. This is such an easy refresher or explanation of OOPS concepts.
@EdisonSeas
@EdisonSeas Жыл бұрын
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!
@TyagiNushrat
@TyagiNushrat 3 ай бұрын
It helps me a lot to get refresh my knowledge after so many work experience, Thank you so much.🙂
@nalinikantadash8669
@nalinikantadash8669 Жыл бұрын
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.
@SSSALLJOBSPORTAL
@SSSALLJOBSPORTAL 10 ай бұрын
Wah!! What an explanation boss!! Crystal clear explanation... 🙌 really thank you🔥
@udithaliyanage6375
@udithaliyanage6375 Ай бұрын
23:59 Compile time polymorphism can be achieved without inheritance. As an example Method overloading and operator overloading.
@unknownfacts1197
@unknownfacts1197 2 жыл бұрын
Multiple inheritance is what makes interface and abstract class differ from each other when they become technically similar
@questpondvideos
@questpondvideos 2 жыл бұрын
So right. Thats the only BIG technical difference
@unknownfacts1197
@unknownfacts1197 2 жыл бұрын
@@questpondvideos Thank you.. Your explanations are so good sir 👍
@10yearsago84
@10yearsago84 6 ай бұрын
Really a great set of questions. Thoroughly covered all the topics. Thank you sir :)
@gametechtutorial4670
@gametechtutorial4670 2 жыл бұрын
Best video so far. Clear, right at the point. Im getting the point right away. Thank you for sharing the knowledge sir.😃🙇‍♂
@vaibhavraj581
@vaibhavraj581 2 жыл бұрын
Very intuitive and clear explanation of the concepts , thanks a lot for sharing. Looking forward to learn more from your videos.
@benedictmabanga5736
@benedictmabanga5736 2 жыл бұрын
Best explanations! Thank you for this🙏🙌
@husnainmazhar6739
@husnainmazhar6739 10 ай бұрын
amazing video,, cleared all the concepts.. Thanks
@sadakagaja
@sadakagaja 2 жыл бұрын
Awesome sir It helping me to learn C#❤️
@hassanadil3535
@hassanadil3535 2 ай бұрын
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.
@shubhampanwar7647
@shubhampanwar7647 2 жыл бұрын
very very detailed and good quality video. i watched till question 27
@ankursahani8564
@ankursahani8564 2 жыл бұрын
Sir your explanation is very systematic. Sir please upload Question and answer for top 50 C programming coding Question for fresher interview.
@mohamedmusthafa1057
@mohamedmusthafa1057 Жыл бұрын
I find this Channel You saved My lot of time thanks ❤
@yogeshkumar_29
@yogeshkumar_29 Жыл бұрын
You are Best Sir !! Really very helpful
@shivangisingh9920
@shivangisingh9920 2 жыл бұрын
You are awesome... Helped me a lot in the interview.
@izmar47
@izmar47 Жыл бұрын
Thank you for the lesson. I can't tell you how much this helped. I appreciate your effort. Liked and Subscribed!
@saravanansangeetha1206
@saravanansangeetha1206 2 жыл бұрын
Very very useful video for us, appreciate your efforts
@akshaysoren5400
@akshaysoren5400 Жыл бұрын
Thank you so much sir. i really like the way you explain.
@shubhamgadre5796
@shubhamgadre5796 6 ай бұрын
//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
@akashgupta2971
@akashgupta2971 2 жыл бұрын
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.
@yosiosibemekun2785
@yosiosibemekun2785 2 жыл бұрын
An interface only allows you to define functionality, not implement it.
@akashgupta2971
@akashgupta2971 2 жыл бұрын
@@yosiosibemekun2785 yeah that's another difference
@manjuanoop7239
@manjuanoop7239 Жыл бұрын
Excellent material thanks for sharing such an informative video👍🏻
@godwinchalz4863
@godwinchalz4863 Жыл бұрын
best video for oops in C#
@keshavt6982
@keshavt6982 4 ай бұрын
Keep up the great work. Explanation was super easy to understand
@deepz513
@deepz513 2 жыл бұрын
thank you sir, along with deeply explaining the concepts you are valuable advised is much appriciated.
@CALLMEMANISH82
@CALLMEMANISH82 10 ай бұрын
thanks, very beneficial video to revise oop concepts.
@justiceeziefule9308
@justiceeziefule9308 Жыл бұрын
This is well explained. Thank you bro
@abdullahahmed8468
@abdullahahmed8468 2 жыл бұрын
amazing content with clear and simple answers, Thanks alot
@phanirao2008
@phanirao2008 2 жыл бұрын
wonderful, very crispy, specially example taken easy than domian specific
@vidyamahathi6057
@vidyamahathi6057 2 жыл бұрын
I got a job.I just watched this video for oops concepts 😁
@MrMcKnite
@MrMcKnite 3 ай бұрын
Happy for you mate
@AhmedAdel-xg1cm
@AhmedAdel-xg1cm Жыл бұрын
Very intuitive and clear explanation of the concepts , thanks a lot for sharing. hope u will make a video for solid principles
@shadabkhan681
@shadabkhan681 2 жыл бұрын
Ang Laga dia h sir jee Ap ney. Behtreeeeen🥰🥰🥰
@legendgattu
@legendgattu 2 жыл бұрын
Abstraction is exposing only whatever is necessary outside a class. Encapsulation is binding data and behaviour (methods) together.
@kishanpatel6657
@kishanpatel6657 Жыл бұрын
Very good point to point.
@nagaboddu852
@nagaboddu852 7 ай бұрын
Thank you sir , it’s very useful 😊
@shivamsoni4215
@shivamsoni4215 Жыл бұрын
Thank you for making simple topic complicated ♥
@manpreet.mg16
@manpreet.mg16 2 жыл бұрын
You have done great video short and ans to remember in easiest way
@praveenrajubattula701
@praveenrajubattula701 2 жыл бұрын
Good video. Just 1 correction - interface can contain implementation, which was implemented in c#8.
@theintuitivetruth
@theintuitivetruth 2 жыл бұрын
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.
@ryuzaki6865
@ryuzaki6865 2 жыл бұрын
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.
@kelpiekrisps
@kelpiekrisps 9 ай бұрын
This was real great, thank you!
@jurijdevelopment1241
@jurijdevelopment1241 7 ай бұрын
Brilliant explanation! Keep doing more videos!
@nks98968
@nks98968 2 жыл бұрын
Very knowledgeable..Thanks
@thiyasjenitha2535
@thiyasjenitha2535 Жыл бұрын
Congrats ur good teacher 🧑‍🏫
@dorothyfung5605
@dorothyfung5605 2 жыл бұрын
Thanks very much for preparing and explaining stuff in such clear and organised way! :)
@judycariaga3945
@judycariaga3945 2 жыл бұрын
You really great at explaining it. Now I understand the OOP more. Thank you so much. ♥️
@yilienchi5380
@yilienchi5380 2 жыл бұрын
I like APIE concept! That's pretty helpful! Thank you so mcuh
@Devdumplings
@Devdumplings 2 жыл бұрын
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 😂
@Shubhamkumar-ir5ox
@Shubhamkumar-ir5ox 2 жыл бұрын
Thanks Sir. Much more Appreciated.
@lehcyllehc
@lehcyllehc 2 жыл бұрын
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. :)
@chandradhamii
@chandradhamii Жыл бұрын
This video is definitely a 🫂 for any interview 🥳
@chandradhamii
@chandradhamii Жыл бұрын
Thanks for making such content 🙏
@vagatsinghrathore1756
@vagatsinghrathore1756 Жыл бұрын
Really awesome, thank u so much 🎉
@abdulrehman8957
@abdulrehman8957 2 жыл бұрын
Thanks for this video, you explain very well about OOP concepts and your presentation skills are too good. Well done and keep it up.
@eddie9559
@eddie9559 Жыл бұрын
I watched the whole video @Questpond
@reshmabegampathan395
@reshmabegampathan395 2 жыл бұрын
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.
@Aalii6
@Aalii6 Жыл бұрын
very helpful, thank you! 👍👍
@reddit_thoughts_now
@reddit_thoughts_now 2 жыл бұрын
Thanks for the video, it was very helpful!
@durgaprasadgarapati1748
@durgaprasadgarapati1748 2 жыл бұрын
Waiting for this video sir thanks for sharing
@praphulshresth
@praphulshresth Жыл бұрын
Excellent work guru ji, maja hi aa gya. or videos banayeeye python par
人是不能做到吗?#火影忍者 #家人  #佐助
00:20
火影忍者一家
Рет қаралды 20 МЛН
Chain Game Strong ⛓️
00:21
Anwar Jibawi
Рет қаралды 41 МЛН
小丑女COCO的审判。#天使 #小丑 #超人不会飞
00:53
超人不会飞
Рет қаралды 16 МЛН
SOLID  Principal - Interview Questions and Answers
24:04
Interview Happy
Рет қаралды 129 М.
Complete OOPs in just 100 Minutes | Object Oriented Programming | OOPs Concepts in Java & C++
1:42:16
Software Architecture and Design Patterns Interview Questions
1:42:28