Java Programming/Keywords/private
From Wikibooks, open books for an open world
private is a Java keyword which declares a member's access as private. That is, the member is only visible within the class, not from any class (including subclasses). The visibility of private members extends to nested classes.
Syntact:
privatevoidmethod();
See also:
This page may need to be