hi there just a quick question. is there an alternative to system.in.read() if you want to read more than one character at a time, say, maybe a few words or something...??? thanks bron
Yes. You can wrap the System.in InputStream in a BufferedReader, which will allow you to read a line of text a time. To begin to form a good understanding for how these fancy Streams and Readers work, I recommend reading the I/O Lesson of Sun's Java Tutorial. [ May 09, 2004: Message edited by: Dirk Schreckmann ]