Where The Inheritence is useful?How we decide the situation
of inheritence
Answer Posted / gaurav
Inheritance is useful when abstracted logic is required, a real time case, for example your building online store's application all those computer type of products you can define common parent class which would have attributes like brand, processor, RAM, HDD etc. this would be common frame for every product of type computer.
Basically, when you are in situation where you need a common structure you normally create abstract class which should mustInherite.
| Is This Answer Correct ? | 1 Yes | 0 No |
Post New Answer View All Answers
what is lazy loading in entity framework?
What is entity client data provider? : Entity framework
What you mean by routing in mvc?
What are child actions in ASP.Net MVC?
What are action filters?
Asp.net mvc application, makes use of settings at 2 places for routing to work correctly. What are these 2 places?
sql related question (outer join, left, right etc) array vs hashtable CRL sqldatareader vs dataset what is WPF, WCF, compare to WinForms Webservices Asp.net MVC vs WebForms?
Explain linq to entities? : Entity framework
What is the use of viewmodel in mvc?
mention what is the difference between ado.net and classic ado?
what is csdl?
Difference between ASP.NET MVC and ASP.NET WebForms?
i have done enough testing in life but now stated developing intereset in development work,Can i think of entering into development work that too in >Net after more then 4 years of testing experiece?
What are the 2 ways of adding constraints to a route?
What is object service? : Entity framework