For a Java newbie…

import java.util.Date;

When you add the above line to a Java program, you are not reading a file. You are telling the compiler to treat the type reference “Date” as if it was “java.util.Date“.

When the compiler later resolves java.util.date it will find it in the
JDK’s jre/lib/rt.jar file.