Originally posted here by cgkanchi
;TT :
It should be buf.readLine() for String input. BufferedReader.read() only works for int's and char's.

Phonedog911:
Strange. I tried it out and get the same thing. Both are supposed to be equivalent. Looks interesting... I'll play a bit and get back to you.

Cheers,
cgkanchi
Knew I'd make a mistake like that... I was taught input using the cs1.jar package so good eye.