Why inheritance is important?



Why inheritance is important?..

Answer / Vijay Agrawal

Inheritance is important because it allows code reusability, reduces redundancy, improves maintainability, and promotes polymorphism. It enables a derived class to extend the functionality of the base class without reinventing the wheel.

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More Dot Net General Interview Questions

Explain what inheritance is, and why it's important?

1 Answers  


What are virtual destructures?

1 Answers  


How to use datagrid value in select statements where condition ,if cell is hyperlink bounded column?

1 Answers  


How many languages .NET is supporting now?

38 Answers   Dreamtech, IBS, Microsoft, Polaris, RDT, Softcon, Viscus Infotech,


What is the Difference between a sub and a function?

9 Answers   Wipro,


Explain the .net framework overview?

1 Answers  


What does cli do?

1 Answers  


What does stateless mean?

1 Answers   BirlaSoft,


what are connection strings?

1 Answers   Manhattan, RTRT,


How do you view the methods and members of a dll?

1 Answers  


Integer & struct are value types or reference types in .NET?

1 Answers  


Please explain what is the difference between odbc and ado?

1 Answers  


Categories