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 are non action methods in mvc?
When was .NET announced
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 is the three pillar of .Net ?
Do you know about the new features in asp.net mvc 4 (asp.net mvc4)?
What is tracing?Where it used.Explain few methods available
How do you convert a string into an integer in .NET
What is the CLS
Why do you need to box a primitive variable
please tell me the best book of asp.net in the markit. which explain in simple and detail.
What is viewstart page in mvc?
What is the use of viewmodel in mvc?