The import java.util.Scanner; statement allows Java to use the Scanner class for user input from the console.