ProAnswers.org

What is the use of packages in java ?

Packages are a way to organize files in java when a project consists of more than one module. It helps in resolving name conflicts when different modules have classes with the same names.