When to use Interface and when Abstract class?

preview_player
Показать описание
1. Full .NET Interview Course

C# / ASP.NET Core / MVC / API - Top 500 Interview Questions

Don't worry if course not helping you, Udemy has 30 days Free Refund Policy.

2. Quick Revision Book (PDF format)

Top 500 .NET Interview Questions - OOPS/ C#/ ASP.Net/ MVC/ SQL /.Net Core /Web API

50% Discount Applied on above link.

My best wishes are with you.
Рекомендации по теме
Комментарии
Автор

After watching this video my confused on interfaces and abstraction got cleared.amezing work Mr. Happy

ankitbirgade
Автор

You are doing an excellent job by putting your time and efforts to teach us these concept in very simple manner in each and every videos. Hats of to you. Thank you for providing such a valuable knowledge.

ramrajsinhparmar
Автор

You forgot to mention that a class/interface can inherit multiple interfaces while a class can't inherit multiple classes.

the_infinity_snake
Автор

Thank You Sir.
Your all videos are superb. I'm a little confused about C#8.0+ version, when should I use the Interface and Abstract class?

sonalilohar
Автор

Thanks after long time i understood what is the use of both 😮

gamingzonerebel
Автор

Thank you happy for making this series, it is really helpful. By the way, Happy is your real name?

randomGuy
Автор

Ur all videos are superb.ur explanation with example is very simple & easy to learn.i really thanks to u sir.one request to u plz make a video subject regarding SOLID principles with real examples.thanks a lot sir in advance😊

qushiexpressionqueen
Автор

but the interface should not have acess modifiers right ?
but u have used inside the interface class menthods

veerappanv-qisb
Автор

Interface member doenst have access modifers, you have added public in interface methods that’s is wrong

poojasoni
Автор

Should we define properties in Abstract classes or should we only use them in operational operations?
In this video, the Role() method in the Abstract class is defined as 'software engineer' but there may be more than one role in the company. Why did you define it this way?
I am asking to understand and learn, thank you.

isademir
Автор

what about default methods and static method they can also serve same purpose as your abstract class concerete method?

RishabhSharma-eu
Автор

Hi I have one doubt you have write role method in abstract class we can rewrite that method again in derived class then what is the meaning of role method

rajeshkale
Автор

how did you maintain the file and data in selenium with c#. interviewer asked

mdmaksudalam
Автор

Sir it's not about interview question i have a doubt am having dot net experience approx 6 years am able to convert as a full stack if i concentrate an year, but confusing about .net future or need to shift Hadoop n data science please help in this confusion

SurendraKumar-sgfy
Автор

but we can achieve concrete behaviour with the help of normal class also then why we use and different kind of implimentation can be achieved by using interface then why we use abstract class or why we use interfcae if same thing is provided by abstract class also? it is really confusing and interviewer confuses easily in this, can you please tell me the exact reason

sukeshinisawant
Автор

Hi sir, Can you please make a video on generic in c#?

raunakpaliwal
Автор

Sir Still I am confused because concrete method also define in interface as well (default method and static metho) then how to decide when we go for interface/ abstract class?
I agree before 8 java feature but know ervery thing we can do interface as well like abstract class(except constructor).
Sir please give your valuable time and clear my doubts 😔

praveenyadav
Автор

Nice explanation. I bought your udemy interview course

katurimahesh
Автор

Sir, can abstract class inherit an interface?

monikaasawa
Автор

I have a question
What The cat class
Abstract or interface or concrete
Which one is correct?
And thank you for explaining this to us it's confusing thank you very much really🤍

nothing
visit shbcf.ru