|
-
October 16th, 2004, 12:41 PM
#13
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.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
|