Discussion :: JAVA MCQs
- Which of these is a mechanism for naming and visibility control of a class and its content?
Answer : Option B
Explanation :
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.
Be The First To Comment