Access Modifiers

A class member declaration can have any one of the five possible kinds of access modifiers: Public, Protected Friend, Protected, Friend and Private. Except for the Protected Friend combination, it is a compile error to specify more than one access modifier. When a class member declaration does not include any access modifiers, Private is used by default.

See also:

Class Members