Object Oriented Software Engineering   View all facts   Glossary   Help
subject > programming language construct > keyword > Java keyword > Java access control keyword > public
Next Java access control keywordprivate    UpJava access control keyword    Previous Java access control keywordprotected   

public
subjectfact 
publicis a subtopic of The Basics of Java2001-08-30 14:57:11.0
is an instance of Java access control keyword2001-08-30 14:57:11.0
is used to declare a public classlink: chapter2section2.8.html#1004, 2001-08-30 14:57:11.0
is used to declare public methodlink: chapter2section2.8.html#1004, 2001-08-30 14:57:11.0
Java access control keywordhas purpose to control which other code can have access to a method or variable2001-08-30 14:56:07.0
precedes the definition of a method, instance variable or class variable2001-08-30 14:56:07.0