Data hiding in C++
P | N


public Anyone can access (data or function) through use of the dot (.) operator.

private No one but the class can access - not even derived classes!

protected Derived classes and the declaring class can access, but no one else.


Previous | Next


Last modified at 8/5/97; 12:29:34 PM
Other Links of Interest
College of Computing | EduTech Institute | GVU Center
Mark Guzdial | Papers | CS 2390 Spring '97 Home Page | STABLE | MMC-CaMILE

Slide Master