Category
C++-Specific Keywords
Syntax
public: <declarations>
Description
A public class member can be accessed by any function.
Members of a struct or union are public by default.
You can override the default access specifier for structures, but not for unions.
Friend declarations can be placed anywhere in the class declaration; friends are not affected by access control specifiers.
Copyright(C) 2009 Embarcadero Technologies, Inc. All Rights Reserved.
|
What do you think about this topic? Send feedback!
|