what is package and how its creates,and advantage also.....?
Java what is Package
A package is a namespace that organizes a set of related classes and interfaces.
Advantages of Packages
1)Anyone can easily determine which files are related.
2)Name space collision is minimized.
3)One can allow types in one package to have unrestricted access to one another, still restricting the access for the types outside the package.