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 the main components of .net framework?
I have 2+ years of fake experience,actually i could not answer for project questions..?how can i answer please suggest me..?
How do you specify comments using razor syntax?
How can I stop my code being reverse-engineered from IL
What is the role of the jit compiler in .net framework?
Difference between int and int32
What is the difference between old ADO.NET and Entity framework coding techniques?
who handles these error while writing the source code???.
What is the use .Glimpse in ASP.Net MVC
When using aspx view engine, to have a consistent look and feel, across all pages of the application, we can make use of asp.net master pages. What is asp.net master pages equivalent, when using razor views?
What is the difference b/w constant & read only variable?
4 Answers IMI Soft Engineering,
What is the use of razor view engine?