Which visibility modifier is used to make properties and functions available only to a class and its heirs?
Computer scienceProgramming languagesKotlinObject-oriented programmingObject-oriented programming basic
Visibility for classes, packages, and modules
Class and its heirs only
Report a typo
Select one option from the list
___
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.