So the purpose of this exercise was to read a file backwards and print it out. I have achieve this but one other requirement is that when the method reverse() is called again, the file is reversed back. Now, since I had not actually reversed the contents of the file, but only read it backwards, […]
The post Attempting to store the results of a for loop into a var so the for loop redefines the contents of the file itself – java appeared first on BlogoSfera.