Where The Inheritence is useful?How we decide the situation
of inheritence
Answers were Sorted based on User's Feedback
Answer / 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 |
Answer / shipra agarwal
Mostly inheritance requires in large classes where every
time searching and writing of same data is impossible. That
case requires us to define some inherited functions methods
n classes.Whenver they required they simply inherited from
inheritance class where they are already defined along with
their functionality to handling some other data pieces.
| Is This Answer Correct ? | 0 Yes | 0 No |
What is the common property in .net?
Is it possibe to run 2 aplication on single m/c, one App is on .Net Framework 1.0 and another one is on .Net Fremework 2.0?
I'm anfinal yr. engg. student with knowledge of .net. I want to refurnish my knowledge for interview purpose. Which institute is good....I am confused among Peers, Naresh it, Deccansoft...Plz help me to select the right institute.....
can i change web.config settings from iis?
1 Answers HCL, ReadySoft, Wipro,
What is Dependency Injection in ASP.Net MVC
What is managed extensibility framework?
Explain what languages does the .net framework support?
What is connected scenario? : Entity framework
Why to use “{resource}.axd/{*pathinfo}” in routing in mvc?
exe abrevatiom
What are the possible razor view extensions?
What are Action Methods in ASP.NET MVC?