Hi guys,
Just started java this year, must say I'm enjoying it so far
for our prac this week we have a do a program where it reads in the contents of a text file where in the text file its just a lot of random letters and then eventually has <---! a message !--->. Now normally this is easy but in this file the lecturer put in 170 pages worth of random letters and although that's still easy to read in with the scanner class with nextLine() it just takes a really long time cause there are so many lines. So I've been trying to find out how to read the entire text file in at once instead of line by line, any ideas?
Thanx in advance
S1ght
Just started java this year, must say I'm enjoying it so far
Thanx in advance
S1ght