Why should package names in Java be unique?

Why should package names in Java be unique?

Why should package names in Java be unique?

A.
to provide the Internet location from which the package can be downloaded

B.
to programatically declare specific ownership of classes in the package

C.
to avoid class name conflicts if two development groups use the same package and class
names

D.
to allow classes in the package to be accessed by classes outside of that package



Leave a Reply 0

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