In using consoles scanner method you would use nextLine(). EG
Scanner in = new Scanner(System.in);
System.out.println("Go forth and type something.");
String message = in.nextLine();
Type: Posts; User: Tjstretch
In using consoles scanner method you would use nextLine(). EG
Scanner in = new Scanner(System.in);
System.out.println("Go forth and type something.");
String message = in.nextLine();