Ask the User
Read user input from the console using Scanner.
We'll cover the following...
So far, you’ve printed and stored text. Now it’s time to get input from the user. In this lesson, you’ll use Scanner
to read what someone types.
Goal
You’ll aim to:
Use
Scanner
to read input.Capture text and numbers.
Build interactive programs. ...