Glossary: Public
The public keyword in the
class statement
means that the following members of the class are available to
users of the
objects
of the
class,
and consequently form part of its public interface. Its
part of the craft of a class designer to make public just enough to
satisfy its
abstraction
requirements whilst keeping private i.e.
encapsulating
its implementation. See also
private
and
protected
See OO Concepts:
Private & Public
Go Back to the
The Glossary Top Page
If you have any comments about this page please send them to
Nick West