import java.util.*; // for Scanner public class ProcessName { public static void main(String[] args) { Scanner console = new Scanner(System.in); System.out.println("Type your name: "); // read the entire input as a single line String input = console.nextLine(); // your code goes here System.out.println("Your name is: " + name); } }