import your own package java code example Example: how to import whole package in java import package.* //imports entire package