Abstract Class vs Interface in C# | C# Interview Questions | Csharp Interview Questions

Поділитися
Вставка
  • Опубліковано 20 гру 2024

КОМЕНТАРІ • 96

  • @questpondvideos
    @questpondvideos  3 роки тому +2

    30 Important C# Interview Questions : ua-cam.com/video/BKynEBPqiIM/v-deo.html
    Software Architecture Interview Questions : ua-cam.com/video/AtTgcbLOqMM/v-deo.html
    25+ OOPS Interview Questions : ua-cam.com/video/u99wAoBjDvQ/v-deo.html
    20+ SQL Server Interview Questions : ua-cam.com/video/SEdAF8mSKS4/v-deo.html
    10+ Power BI Interview Questions : ua-cam.com/video/Cozc9WNBRt4/v-deo.html
    20 MSBI Interview Questions : ua-cam.com/video/Nw_sHEKnOUE/v-deo.html
    SQL Server Joins : ua-cam.com/video/KTvYHEntvn8/v-deo.html
    SQL Step by Step - ua-cam.com/video/uGlfP9o7kmY/v-deo.html
    Angular Step by Step Tutorial for Beginners : ua-cam.com/video/-9VcW7MBDs8/v-deo.html
    25 Angular Interview Questions : ua-cam.com/video/-jeoyDJDsSM/v-deo.html
    25 Important ASP.NET Interview Questions : ua-cam.com/video/pXmMdmJUC0g/v-deo.html
    35 Important JavaScript Interview Questions : ua-cam.com/video/Zb4dPi7CANU/v-deo.html
    20 MySQL Interview Questions : ua-cam.com/video/9hfjC-BpY20/v-deo.html
    5 MSBI Interview Questions : ua-cam.com/video/5E815aXAwYQ/v-deo.html
    20 PHP Interview Questions : ua-cam.com/video/1bpNSynUrl8/v-deo.html

    • @chandrabhan3501
      @chandrabhan3501 3 роки тому

      Why haven't you inherited enquiry in customer class of abstract

  • @yashpatil2536
    @yashpatil2536 Рік тому

    Thanks!

  • @tigran12
    @tigran12 3 роки тому +15

    Very good lesson!! Finally I understand the difference between abstract classes and interfaces!! Thank you!!

    • @questpondvideos
      @questpondvideos  3 роки тому +3

      Thanks. Do visit www.questpond.com/c-step-by-step-with-interview-questions---answers-series/cid62

  • @dotnavneet
    @dotnavneet 3 роки тому +5

    This videos is best explanation I found on youtube, it almost clears all the doubts that confused me again and again about the differences between interfaces and absract classes.
    Thank you very much sir and god bless you

  • @Kobi170
    @Kobi170 3 роки тому +3

    This is the topic I couldn't understand for a long time. You just explained it so well, I got that immediately. Thank You very much!

  • @jsm33t
    @jsm33t 10 місяців тому

    the explaination is so clean and crisp!!!

  • @yamanthakur7352
    @yamanthakur7352 2 роки тому +19

    Sir,
    As per the recent c# update, Beginning with C# 8.0, an interface may define default implementations for some or all of its members. So it would be now difficult to differentiate between abstract and interface...please review the update and highlight the differences...Thanks for the video, it was really detailed.

    • @moravec481
      @moravec481 2 роки тому +2

      This still does not change the fact that in C# a class can implement multiple interfaces but inherit from only one abstract class. In a language like C++ that supports multiple inheritance of classes, there is no technical difference between an interface and a pure abstract class (and indeed, C++ has no notion of an interface). This is not the case with C# and Java though.

    • @yamanthakur7352
      @yamanthakur7352 2 роки тому +1

      @@moravec481 that is one thing, however, when it comes to implementation of methods, how can we differentiate between both?

  • @shobhamahadev118
    @shobhamahadev118 11 місяців тому

    such a nice explanation, I watched many but no one cleared the concepts to this level. Thank you sir.

  • @Joe-ho6fo
    @Joe-ho6fo 9 місяців тому

    Best explanation of the subject I’ve heard.

  • @syedalirizvi6162
    @syedalirizvi6162 8 місяців тому

    Complex topic explained very beautifully.Thank you

  • @sonetteboning5173
    @sonetteboning5173 Рік тому

    Thanks so much. You explanations are always thorough, clear and easily understood.

  • @hariharanvengatesan6855
    @hariharanvengatesan6855 26 днів тому

    The best ever explation for this question❤

  • @chandrageetham
    @chandrageetham 2 роки тому

    May God bless you. Your session is very crystal clear narratiion.

  • @harmeetkukreja8750
    @harmeetkukreja8750 3 роки тому +5

    Well explained. Even from your hometown the hunger to spread knowledge does not go. If Teaching is your hobby, learning is ours. Both are hungry

  • @computerprogrammingadvance2612
    @computerprogrammingadvance2612 3 роки тому +1

    Examples are fabulous . Thanks

  • @nishantkrsingh
    @nishantkrsingh 3 роки тому +2

    Crystal clear explanation.. thank you..

    • @questpondvideos
      @questpondvideos  3 роки тому

      Thanks. Do visit www.questpond.com/c-step-by-step-with-interview-questions---answers-series/cid62

  • @omarpicadobrenes5720
    @omarpicadobrenes5720 2 роки тому +2

    If you only need to know the overall difference: 5:10

  • @maheshgupta3825
    @maheshgupta3825 2 роки тому

    U are so good in explaining. Thanks for sharing this information 🙂🙂

  • @avinashsharma5942
    @avinashsharma5942 Рік тому

    Well explained. video helped in clearing the doubt of pure abstract. Your way of explaining the concept in simplest possible form and that too with demonstration that's like cherry on the cake. Can you please share what are important concept that needs to be learnt in entity framework.

  • @amudhadharmaraj780
    @amudhadharmaraj780 2 роки тому

    Thank you so much for the video. you are a good teacher. Started to watch your courses.

  • @lathasaravanakumar2397
    @lathasaravanakumar2397 Рік тому

    Many thanks for your Video. Very helpful

  • @rajaudhay888
    @rajaudhay888 3 роки тому

    It is very clear... Good explanation...

  • @BhavinShah-k1m
    @BhavinShah-k1m 4 місяці тому

    One of the key advantage of interfaces over abstract classes is how they are being used in loose coupling.

  • @Aman-x5g
    @Aman-x5g Рік тому +1

    Keep uploading ❤

  • @gregorynovikov1450
    @gregorynovikov1450 3 роки тому

    I do inquires all the time. Beautiful video regardless.

  • @SuperEvoken
    @SuperEvoken 3 роки тому

    Best explanation I've ever seen.

  • @kopilkaiser8991
    @kopilkaiser8991 Рік тому

    Thousand likes for making such an useful video. I have learnt a lot about the differences. Thanks. Please keep uploading great videos to assist us fellow devs to understand better. The docs and stackoverflow at times are complicated

  • @ani8716
    @ani8716 2 роки тому

    Thanks.. great explanation.. seriously still everyone asks this question.. I don’t know whyy!!!

  • @otetumooluwaseun3948
    @otetumooluwaseun3948 10 місяців тому

    Thank you very much for this video.
    You gain one more follower in me.

  • @kiransingh8239
    @kiransingh8239 2 роки тому

    Well explained sir,thanks a lot ...gratitude

  • @srijansanadhya8076
    @srijansanadhya8076 3 роки тому +1

    Thank you , really Enjoyed it and understood the concept 😬

  • @Bobby-mf6fw
    @Bobby-mf6fw 3 роки тому

    Cleared all doubt .thanks a tone Sir👍

  • @MCh638
    @MCh638 3 роки тому +1

    simple yet a professional explanation, I am thinking of joining the courses in website but it is a little confusing since there are a lot of courses there ! I think it would be great if you consider making a (guide map) pdf or video that explain the target of all courses or study paths ?

    • @questpondvideos
      @questpondvideos  3 роки тому

      Thanks. Do visit www.questpond.com/c-step-by-step-with-interview-questions---answers-series/cid62

  • @BhushanTeli-l7h
    @BhushanTeli-l7h Рік тому

    Well explained 👍

  • @abissqlabissql6003
    @abissqlabissql6003 3 роки тому +5

    When its .NET and C# only one king in India Shivprasad Koirala....This video takes you to different level of thinking.

    • @questpondvideos
      @questpondvideos  3 роки тому +9

      There are many better c# devs than me , its just that i create videos on youtube , write books so people know me. :-)

    • @1989vinayak
      @1989vinayak 3 роки тому +3

      @@questpondvideos this is called remaining down to earth.. Dev's are many but the way you express/explain can be done by very few

  • @anonymous-di3fi
    @anonymous-di3fi 4 місяці тому

    thank you sir. where can i find interview questions about SOLID principles for freshers?

  • @qaerdogan
    @qaerdogan 3 роки тому

    Super explanation, Congratulate friend.

  • @lakshmisruthi1342
    @lakshmisruthi1342 3 роки тому

    very very very well explained.

  • @sujitbhujbal94
    @sujitbhujbal94 4 місяці тому

    excellent...no more disc. abstract vs interface😆

  • @semnal.m2581
    @semnal.m2581 Рік тому

    Thanks. My question is: how to save all classes who implemented interfaces as xml file into one single file? Can you provide an example? And how to load that file after? I never found this on net.

  • @furquan_shorts
    @furquan_shorts 10 місяців тому

    Sir After c# 8- 2019, Microsoft has introduced default method implementation in the Interfaces.

  • @poligera
    @poligera 3 роки тому

    Amazing and clear! Thank you so much 😍

  • @ayounghosh9218
    @ayounghosh9218 3 роки тому

    loved the clarity and emphasis on your voice. It was indeed a very good explanation

  • @al2000x1
    @al2000x1 2 роки тому

    thank you very much for the video it helped me a lot!

  • @PatilSandip321
    @PatilSandip321 3 роки тому

    Nice Explanation

  • @070tahsin
    @070tahsin 3 роки тому

    very good explanation thanks!

  • @roshangupta3596
    @roshangupta3596 5 місяців тому

    Thank you so much sir

  • @vikramrathaur9743
    @vikramrathaur9743 3 роки тому

    He is a genius man

  • @archanajoshi6929
    @archanajoshi6929 3 роки тому +1

    Thank you sir 🙏 very well explained. Can you please make a video on oops concepts.. this is also a commonly asked interview question ..

    • @questpondvideos
      @questpondvideos  3 роки тому

      Hello Archana, under membership you can find c# interview Q&A video on OOPs concepts too i.e. Part 4.

  • @mustafandf
    @mustafandf 3 роки тому +1

    I can't thank you enough!

  • @tko9753
    @tko9753 2 роки тому

    Why would I do planning in the code? I can plan the code prior to coding using UML for example, it doesn’t make since?

    • @questpondvideos
      @questpondvideos  2 роки тому

      Documents like UML and word does not bring enforcement in the code like interfaces....We all know document is always out of synch with code.

    • @tko9753
      @tko9753 2 роки тому

      @@questpondvideos you mean do not bring?

    • @questpondvideos
      @questpondvideos  2 роки тому

      @@tko9753 🙂 yes

  • @jgsk78
    @jgsk78 2 роки тому

    great explanations man!!! great work. much appreciated. peace!

  • @neerajsharma-ro7sg
    @neerajsharma-ro7sg 3 роки тому

    Very well explained sir.

    • @questpondvideos
      @questpondvideos  3 роки тому

      Thanks. Do visit www.questpond.com/c-step-by-step-with-interview-questions---answers-series/cid62

  • @kozavr
    @kozavr Рік тому

    greate job, thank you

  • @shashankshekhar-cl7rd
    @shashankshekhar-cl7rd Рік тому

    For 8 years of experience can u suggest wat are the questions should I focus on??

  • @rileynobles7146
    @rileynobles7146 3 роки тому

    Nice job

  • @ezt1215
    @ezt1215 Рік тому

    In this example, why not derive the Customer class from parent class CustomerEnquiry. Then Lead could be derived from parent CustomerEnquiry and PlatiniumCustomer could be derived from parent Customer. Does this not accomplish the same thing? Why is using interfaces better than this solution? (An honest question from someone trying to have a better understanding)

  • @chandrabhan3501
    @chandrabhan3501 3 роки тому

    Why haven't you inherited enquiry in customer class of abstract

  • @harmeetkukreja8750
    @harmeetkukreja8750 3 роки тому +2

    I have one question. U said we cannot do multiple inheritance in C#, but we could do multilevel inheritance.
    We could have an EnquiryCustomer with name prop and Enquiry () and a Customer which inherits from EnquiryCustomer and has discount () then concrete classes can inherit from Customer class.

    • @chhavimiglani2966
      @chhavimiglani2966 3 роки тому

      I too have this same question sir..

    • @maxron6514
      @maxron6514 3 роки тому +3

      Why would you create 2 classes only to be inherited from concrete classes further down in the same hierarchy?

  • @DebugModeVideos
    @DebugModeVideos 3 роки тому

    Very very nice video sir

  • @abugsbunny
    @abugsbunny 2 роки тому

    Thanks!! great

  • @cormackeenan8175
    @cormackeenan8175 Рік тому

    Interfaces are very useful on large projects where there are multiple programmers, so the code doesn’t turn into a dogs dinner?
    Is this fair to say?

    • @questpondvideos
      @questpondvideos  Рік тому

      yes it is so true that it does become a Dog dinner. But i think in interview technical explanation would be needed.

  • @RobertMunteanu105
    @RobertMunteanu105 3 роки тому

    awesome video! thanks a lot!

  • @elcilmadtha
    @elcilmadtha 9 місяців тому

    Sir are you related to Manisha Koirala

  • @nishanamusthafa2241
    @nishanamusthafa2241 3 роки тому

    Thank you Sir.

  • @ravikiran3284
    @ravikiran3284 3 роки тому

    Thank you so much Sir🙏

    • @questpondvideos
      @questpondvideos  3 роки тому

      Thanks. Do visit www.questpond.com/c-step-by-step-with-interview-questions---answers-series/cid62

  • @amamsharma372
    @amamsharma372 11 місяців тому

  • @steffymaryjose5828
    @steffymaryjose5828 3 роки тому

    i have membership. how can I download pdf for interview questions

    • @questpondvideos
      @questpondvideos  3 роки тому

      Check first part of each series for PDF download link in the description.

    • @steffymaryjose5828
      @steffymaryjose5828 3 роки тому

      @@questpondvideos Couldn't find any link to download .could you please help

    • @questpondvideos
      @questpondvideos  3 роки тому

      @@steffymaryjose5828 Check Part1 of C#, ASP.NET MVC, Angular, SQL interview Q&A videos. Links are already given in the description.

  • @RachitJain4U
    @RachitJain4U 3 роки тому

    Thanks sir :)

  • @0123-g3n
    @0123-g3n Рік тому

    Conclusion : interface can support multiple inheritance

  • @s.-.-.
    @s.-.-. 11 місяців тому

    What is the difference between ICustomer buyer_as_interface_type = new Customer() and Customer lead_from_class_type = new Customer() ?