Lecture overview -- Keyboard shortcut: 'u'  Previous page: Shared base class: Virtual base -- Keyboard shortcut: 'p'  Next page: Base class access -- Keyboard shortcut: 'n'  Lecture notes - all slides and notes together  slide -- Keyboard shortcut: 't'  Help page about these notes  Alphabetic index  Course home  Lecture 4 - Page 20 : 24
Notes about C++
Abstraction Mechanisms, Part 2
Base class access

A base class in C++ can be either public, protected, or private

Why is member access control in the individual classes A and B not sufficient?

  • The C++ Programming Language: Page 405
 

To see this image you must download and install the SVG plugin from Adobe.In Firefox please consultthis page.

The class B is a specialization of class A