C++ Inheritance public protected private1 C++ Inheritance (public, protected, private) public inheritance : Maintains original type of super class. protected and private inheritance : Changes all types of super class to its inheritance type. public type in super class protected type in super class private type in super class public inheritance public type protected type private type protected inheritance protected type protected type protected type private inheritance private type.. 2011. 1. 20. 이전 1 다음