-
Which of these is a mechanism for naming and visibility control of a class and its content?
-
- Interfaces
- Object
- Packages
- All of above
- None of these
Correct Option: C
Packages are both naming and visibility control mechanism. We can define a class inside a package which is not accessible by code outside the package.