how to import package into main java code example Example: java file package import import java.io.File;