Reading a single word

Report a typo

Consider the following code:

Scanner scanner = new Scanner(System.in);

How can you read only a single word?

Select one option from the list
___

Create a free account to access the full topic