I am currently learning Java using the Deitel\'s book Java How to Program 8th edition (early objects version).
I am on the chapter on creating classes and methods.
The classes located in the same package do not have to be imported, as they are visible to each other. You simply import a class that is in another package:
import
import java.util.ArrayList;
Note that you are not importing the file, but the class.