I was searching SO to see if there was a question about this but apparently not so. I am currently reading a text file using BufferedReader. My only problem is that I want to read the last line of my file ONLY. IE: I write something to a file 10 times, I want to get the 10th entry. I could easily just run a loop reading each line until I hit my 10th line, but i was wondering if there was a more efficient way since the file is going to keep on increasing and could end up being 100+ entries.
Also, I'd rather not use an external package if possible.
Thanks!