Skip to content
Related Articles
Get the best out of our app
GeeksforGeeks App
Open App
geeksforgeeks
Browser
Continue

Related Articles

Java | Packages | Question 2

Improve Article
Save Article
Like Article
Improve Article
Save Article
Like Article

Which of the following is/are advantages of packages?
(A) Packages avoid name clashes
(B) Classes, even though they are visible outside their package, can have fields visible to packages only
(C) We can have hidden classes that are used by the packages, but not visible outside.
(D) All of the above


Answer: (D)

Explanation:

Quiz of this Question

My Personal Notes arrow_drop_up
Last Updated : 28 Jun, 2021
Like Article
Save Article
Similar Reads