Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...


Where The Inheritence is useful?How we decide the situation
of inheritence

Answers were Sorted based on User's Feedback



Where The Inheritence is useful?How we decide the situation of inheritence..

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

Where The Inheritence is useful?How we decide the situation of inheritence..

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

Post New Answer

More Dot Net Framework Interview Questions

Can I add mvc testcases in visual studio express?

0 Answers  


What is razor code?

0 Answers  


What is .net framwork? what is web application? what is CLR? How does work CLR & wht is work of CLR? What is compile? wht is thread? what does use in .net?

4 Answers   IBM, NIIT,


Which is the institute which also caters to your personal development other than subject.

1 Answers   TCS,


How does servicing work for the .net framework 3.0?

0 Answers  


What is a razor file?

0 Answers  


Why is entity framework used?

0 Answers  


What's the .NET class that allows the retrieval of a data element using a unique key

1 Answers  


How large is the .net framework 3.0?

0 Answers  


What is a model in programming?

0 Answers  


How to use multiple submit buttons in asp.net mvc?

0 Answers  


what is more complex to implement property, methods or event? how can I define criteria to compare the difficulty of implementation between them? for example the number of methods wanted to implements property is 2 methods. how many methods I need it to implements events?

0 Answers  


Categories