The console class handles the thread synchronization for you.
From the documentation of Console:
I/O operations using these streams are
synchronized, which means multiple
threads can read from, or write to,
the streams.
The console class handles the thread synchronization for you.
From the documentation of Console:
I/O operations using these streams are
synchronized, which means multiple
threads can read from, or write to,
the streams.