Please enable JavaScript to use CodeHS

CodeHS Glossary


Visibility Java

Visibility (usually `public` or `private`) defines who has access to something (usually a variable or method). Public means code outside of the class can access, private means only code inside the class can access.