All Packages Class Hierarchy This Package Previous Next Index
Class duckMachine.architecture.TestIO
java.lang.Object
|
+----duckMachine.architecture.TestIO
- public class TestIO
- extends Object
A small program to test the IO unit of the machine.
-
TestIO()
-
-
main(String[])
- The program creates a new IO unit with defaults input and output
streams.
TestIO
public TestIO()
main
public static void main(String args[])
- The program creates a new IO unit with defaults input and output
streams. Then it reads numbers from the input stream and echoes
them back to the output stream. During the process numbers are
converted to ints. All exceptions are redirected to the standard
error stream. To exit the infinite loop just enter a non-number.
All Packages Class Hierarchy This Package Previous Next Index