QUESTION: What is inheritance in OOP?
Inheritance is like a concept in OOP where a new class (subclass) can inherit properties and methods from an existing class (superclass).
© 2023 All Rights Reserved. Maninder Singh (www.mstips.in)