Java uses import to import other class files and packages. If you're developing a multifile Java project, you should put your files in the same directory or package.