Professional Documents
Culture Documents
Defines a type that is accessible only from within the program in which it is declared.
Private
Defines a type that is accessible only from within the context in which it is declared.
For instance, a Private variable declared within a class module is accessible only from
within that class module. A Private class is accessible only from classes within which it
is nested.
Protected
Applies to class members only. Defines a type that is accessible only from within its
own class or from a derived class.
Protected
Friend
Defines a type that is accessible from within the program in which it is declared as well
as from derived classes.
Public
Defines a type that is publicly accessible. For example, a public method of a class can
be accessed from any program that instantiates that class.