+ 1
Whai is inheritance
2 odpowiedzi
+ 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.
+ 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.