Inheritance

Inheritance is a concept in which properties and behaviour of one class are inherited by another class. The class whose properties are inherited is called parent class, whereas the class that inherits properties and behaviour is called child class. In programming world, Inheritance is a way of making relationships between classes and use these relationships … Continue reading Inheritance