What kinds of modifiers are available for different parts of code?
Computer scienceProgramming languagesJavaCode organizationObject-oriented programmingClasses and objectsAccess control
Access modifiers
Modifiers and code objects
Report a typo
Choose one or more options for each row
| top-level class | method | field | |
|---|---|---|---|
| private | |||
| public | |||
| package-private |
___
By continuing, you agree to the JetBrains Academy Terms of Service as well as Hyperskill Terms of Service and Privacy Policy.
Create a free account to access the full topic
By continuing, you agree to the JetBrains Academy Terms of Service as well as Hyperskill Terms of Service and Privacy Policy.