CS 3304: Comparative Languages
Object-Oriented Programming
[
Course Documents
] : [
Object-Oriented Programming
]
Previous
Contents
Next
Keyword Index
C++ Inheritance (cont.)
In addition, the subclassing process can be declared with access control (private or public), which limits visibility over inherited features
Private derivation: inherited public and protected members are private in the subclasses
Public derivation: public and protected members are also public and protected in subclasses
Multiple inheritance is supported
Both static and dynamic method binding are supported