# import Java Keyword

The import keyword makes one class or all classes in a package visible in the current Java source file. Imported classes can be referened without the use of fully-qualified class names.

## Examples

      import java.io.File;
      import java.net.*;

## Remarks

- Many Java programmers use only specific import statements (no '*') to avoid ambiguity when multiple packages contain classes of the same name.

Related Topics

package Java Keyword