+ 4
When you import Scanner and create a instance of class scanner this reads your keyboard input.
import java.util.Scanner;
public class Program
{
public static void main(String[] args) {
Scanner scanner = new Scanner(System.in);
System.out.println(scanner.nextLine());
}
}