Usually I use input.nextLine() to capture a whole line of text. However, if you want to capture a single "word" (loosely defined as anything separated by spaces), use input.next().

String...