Q & A by Maninder Singh

Question:

QUESTION: Explain the concept of inheritance in OOP.

Answer:

Inheritance is like passing down traits. In OOP, it means one class can inherit the properties and methods of another class.