Prompt p = new Prompt(); String input = p.getLine("Type a line: "); System.out.println("User typed: " + input);