Inheritance private and protected inheritance are different forms of Inheritance ?
This is a discussion on Forms of Inheritance within the C++ Programming forums, part of the General Programming Boards category; Inheritance private and protected inheritance are different forms of Inheritance ?...
Inheritance private and protected inheritance are different forms of Inheritance ?
Yes. I believe looking up "composition" in context of OOP might help you get an idea of why you would ever use it.