The access specifier that gives least accessibility is ______.
Advertisements
Question
The access specifier that gives least accessibility is ______.
Options
Package
Public
Protected
Private
MCQ
Fill in the Blanks
Advertisements
Solution
The access specifier that gives least accessibility is private.
Explanation:
The private access specifier restricts access to the class solely, providing the least amount of accessibility.
shaalaa.com
Is there an error in this question or solution?
