Sponsored Link •
|
Advertisement
|
Advertisement
|
This page contains an archived post to the Java Answers Forum made prior to February 25, 2002. If you wish to participate in discussions, please visit the new Artima Forums.
Message:
Just as System.out is the way you access the monitor, System.in access the keyboard. When you create the InputStreamReader object, just pass System.in as the input stream. For example:
I hope this answers your question. If you need an explanation of BufferedReader or InputStreamReader, just ask your specific question, and someone will help you out. Hiran > Respected sir,
Replies: |
Sponsored Links
|