Home » JAVA Programming » Packages » Question
  1. Which of these is a mechanism for naming and visibility control of a class and its content?
    1. Interfaces
    2. Object
    3. Packages
    4. All of above
    5. 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.



Your comments will be displayed only after manual approval.