Printing (cont’d)
- When starting Java, there are at least three streams created for you:
System.in // for getting input
System.err // for bad news output
- These are InputStream and PrintStream objects
- Note: For Win95/NT System.out is
"almost" identical to System.err -
the both display to the screen
(the one exception is when using
DOS redirect, >, where System.out
is redirected, while System.err is
still put to the screen )