Object Oriented Software Engineering View all facts Glossary Help |
| subject > programming language construct > keyword > Java keyword > Java access control keyword > public |
| public | ||||
| subject | fact | |||
| public | is a subtopic of The Basics of Java | ![]() |
| is an instance of Java access control keyword | ![]() | |
| is used to declare a public class | ![]() | |
| is used to declare public method | ![]() | |
| Java access control keyword | has purpose to control which other code can have access to a method or variable | ![]() |
| precedes the definition of a method, instance variable or class variable | ![]() |