Hey guys, thanks so much...that worked!! But, I'm kind of curious now how IO streams work...I didn't quite follow. First, you create an instance of an InputStreamReader, which takes System.in as an argument - does this just create an InputStreamReader that reads console input?
Then, you pass the isr to the BufferedReader - is the bufferedReader just a way of storing isr's data?
That is all a guess, so please correct me...
On a side note, is anyone here studying from a
Java book...I'm using JAVA Methods, which is a little on the toned-down side. Kind of slow...
Thanks again guys!