Java I/O
PushBackInputStream implements a
one-byte pushback with its unread()
method.LineNumberReader keeps track of the
number of lines read. You can get this number with
getLineNumber().PrintStream and
PrintWriter use buffering. They flush on a
println (with automatic flushing turned on)
or a flush.8 of 13