Public data in a class are accessible to everyone. The public keyword can also
be used as an inheritance specifier, which causes all public and protected
members of the base class to become public and protected members of the derived
class.
Related Topics: class, private, protected