Explain the usage of Java packages.

Q

Explain the usage of Java packages.

✍: Guest

A

This is a way to organize files when a project consists of multiple modules. It also helps resolve naming conflicts when different packages have classes with the same names. Packages access level also allows you to protect data from being used by the non-authorized classes.

2012-08-09, 2182👍, 0💬