What is the understanding of flow, input and character? "Beginning Java2" said: It is an input device-data source or an abstract representation of the data target. I understand data (a data for your program to be processed). It can be files from the hard disk, your keyboard input, you will be written to the hard disk, will be printed, will be output on the display, etc. You may notice this, data is divided into two categories. Yes, one type of input, another type of output. At this time, the previous connection is input data, output data, further think, will understand what is input, output. Flow (ie I said data) is also divided into two: one, binary stream, two, character stream. Tell this kind of book naturally think that the inputs and outputs above will think of the Scanf (), Printf () statement like the C language, think of the integer and realmes it enters. But Java is Java different from C, so it will not enter integer and real as C, which can only enter a series of bytes (regardless of binary data or character data you write). You want to enter a integer data or real data in the console can only manually convert byte data to your own type. There is a CONSOLE class on the "Java2 core technology" supporting CD provides a solution, which provides three ways: by prompting input, capturing an integer. Readint (String Prompt) Capture a floating point number by prompting input. ReadDouble (Stirng ProMpt) by prompting input, capturing a string or word. Readline (String Prompt)