+ 1

Whai is inheritance

31st Dec 2016, 7:04 AM
Bhargav Makkena
2 Respostas
+ 2
That's a very broad question, but I'll answer to the best of my ability. Inheritance is something that allows for classes to extend a another class having the same abilities of the "parent" class, plus the ability to have more of his own. This makes code more maintainable, and avoids repetition of code, allowing you to write general classes, and create more, specialized, classes, inheriting from the parent class.
31st Dec 2016, 7:11 AM
Dao
Dao - avatar
+ 1
it is related to object oriented programming. it is of giving characteristics of base class to derived class. it has to do with reusability and will develop programs easier without default.
31st Dec 2016, 7:23 AM
mingeun kim
mingeun kim - avatar