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

Related Topics

package Java Keyword