how to import a scanner in java

Java
import java.util.Scanner;
Source

Also in Java: