It's not a secret anymore!
The moose likes Beginning Java and the fly likes Reading from a file Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Beginning Java
Bookmark "Reading from a file" Watch "Reading from a file" New topic

Reading from a file

Audrey Horne

Joined: Mar 14, 2010
Posts: 1
I am having some problems reading from the input file, but not sure why. I have the file saved in the same folder and named the same (InFile)... and ideas?

Ireneusz Kordal
Ranch Hand

Joined: Jun 21, 2008
Posts: 423
It may help if you say us actually what kind of problems do you have: some type of exception was thrown on some line, file contains string "20" but your code reads "50" or something else ?
I agree. Here's the link:
subject: Reading from a file
It's not a secret anymore!