Write a statement that reads a word from standard input into firstWord.

Write a statement that reads a word from standard input into firstWord.

LANGUAGE: Java

CHALLENGE:

Write a statement that reads a word from standard input into firstWord.
Assume that firstWord. has already been declared as a String variable.
Assume also that stdin is a variable that references a Scanner object associated with standard input.

This content requires that you purchase additional access. The price is $2.99 or free for our Make Life Easier and 30 Days – Not Recurring members.

Purchase this Content ($2.99) Choose a Membership Level