Interview Preparation mode beta
Funny Facebook Status Funny Facebook Status
Enter your email address

Explain the usage of Java packages.

Nice?Vote!

1 Answer

Nice?Vote!
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.
answered 1 year ago by anonymous

Related questions