sorry. Dont read this

Pyro

Banned
Sep 2, 2000
1,483
0
0
Simple I/O

Objects
System.out alows us to print to the screen from the PrintScreen class.
System.in allows us to read form the keyboard

Using System.in
1. import java.io.* for every program using system.in
2. The method header for all methods reading from the keyboard must be as follows:
public static void method_name (arguments) throws IOException {}
3. We must declare the keyboard.
BufferReader kb = new BufferReader (new InputStreamReader(System.in));
// Can only be declared once in a program to set up the keyboard.
4. To read input use:
String name = kb.readLine();
//reads to return char