cs046 ยป

cs046/scannerhint


You can use next() or nextLine().

next() will just take one word. nextLine() will allow the user to enter multiple words to search for together.