Sail E0 Webinar
Question
Which of these is a mechanism for naming and visibility control of a class and its content?
Options:
A .  Object
B .  Packages
C .  Interfaces
D .  None of the Mentioned.
Answer: Option B


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.



Was this answer helpful ?
Next Question

Submit Solution

Your email address will not be published. Required fields are marked *

Latest Videos

Latest Test Papers