Which types of the access modifiers can be applied to a class, a field and a method?
Computer scienceProgramming languagesJavaCode organizationObject-oriented programmingClasses and objectsAccess control
Access modifiers
Group the access modifiers
Report a typo
Choose one or more options for each row
| public | protected | private | no modifier | |
|---|---|---|---|---|
| class (not nested) | ||||
| field | ||||
| method | ||||
| constructor |
___
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.