Introduction
In Chapter 4 you will learn about:
- Reading from the User
- Reading Strings
- Reading Numbers
- Error Handling
The programs that we have looked at so far do not prompt the user for any information. The program simply executes to completion and then quits. Now I will show you how to create an application that is able to prompt the user for information, and process that information.
There are many different ways that input can be gathered from the user. The most common two methods are the keyboard and mouse. In this chapter we will learn how to receive input from the user, using the keyboard. The user will be allowed to enter a line of text, right on the console window. This line of text will be returned to the Java program for processing.




