Q & A by Maninder Singh

Question:

QUESTION: What is inheritance in OOP?

Answer:

Inheritance is like a concept in OOP where a new class (subclass) can inherit properties and methods from an existing class (superclass).