java import a class from the previous package code example Example: java file package import import java.io.File;