import one package in another package in java code example Example: java file package import import java.io.File;