Java   View all facts   Glossary   Help
syntactic unit > keyword > access modifier > private
Next access modifierprotected    Upaccess modifier    Previous access modifieraccess modifier of an overriding method   

private
subjectfact 
privatedeclares private accessadded by: WH, 2001-10-19 11:37:42.0
has definition A keyword that means a variable or method is only accessible within its classadded by: DS, source: Sun Java Tutorial, reference: Source 2, 2001-10-19 11:37:42.0
is a subtopic of Access Control2001-10-19 11:37:42.0
is an instance of access modifieradded by: DS, source: Sun Java Tutorial, 2001-10-19 11:37:42.0
is used to declare private method    source: Object Oriented Software Engineering by Lethbridge and Laganière, 2001-10-19 11:37:42.0
may not be used when declaring members of an interfacesource: Sun Java Tutorial, 2001-10-19 11:37:42.0
means that a member is only accessible to its classadded by: DS, source: Sun Java Tutorial, 2001-10-19 11:37:42.0
access modifierhas purpose to control which other code can have access to a method or variable    2001-10-19 11:35:59.0
precedes the definition of a method, instance variable or class variable    2001-10-19 11:35:59.0
see also access mode2001-10-19 11:35:59.0
syntactic unithas syntax rule
bold = mandatory
italic = non-terminal
normal font = optional
2001-10-19 11:38:04.0