Sherman Willden wrote:Thank you for referring me to Scanner. I found the below code and I added the if statement and the length() statement. I wanted to know if a user just presses enter so I can let that user know that something must be entered. I think the string length let me know that.
Campbell Ritchie wrote:The Scanner object hasn't actually got a nextString() method.
You paid considerably more for 1MB of RAM in 1985 than you would for 16GB nowadays. Even allowing for inflation.
Sherman Willden wrote:. . . in 1985 . . . it was about space and memory. . . .