QUESTION: Explain the concept of inheritance in OOP.
Inheritance is like passing down traits. In OOP, it means one class can inherit the properties and methods of another class.
© 2023 All Rights Reserved. Maninder Singh (www.mstips.in)