Check out example codes for "java import". It will help you in understanding the concepts better.

Code Example 1

import java.util.* 			//imports entire utility package
import java.util.scanner 	// imports just the scanner object
  
public class CheeseBurgerOrderer {
  public static void main(String[] args) {
    // code body
  }
}

Code Example 2

// import <package>			-> Imports the whole package
// import <package>.<class> -> Imports a certain class
import java.util.Scanner;

Code Example 3

import java.io.File;

Learn ReactJs, React Native from akashmittal.com