how to connect a class from one package to another java code example Example: java file package import import java.io.File;