I need to read a file into a string so I can scramble to words of the file. Right now I have:
Scanner infile = new Scanner( new FileReader( args[0] ) );
String text = infile.nextLine();
...
Type: Posts; User: beginneratjava
I need to read a file into a string so I can scramble to words of the file. Right now I have:
Scanner infile = new Scanner( new FileReader( args[0] ) );
String text = infile.nextLine();
...