Possible Duplicate:
Default inheritance access specifier
When class A
inherits from class B
:
class A: B {...}
Since I didn't specify the type of inheritance, What will the type of inheritance be? Will it be private
since it is the default? Or, is there some sort of dependency here? In other words, will the inheritance type depend on the inherited
class or the inheriting
class?
Thanks.