I have a text file that has following content:
ac und accipio annehmen ad zu adeo hinzugehen ...
I read the text file and iterate through t
You already get the next line in this line of your code:
String line = sc.nextLine();
To get the words of a line, I would recommend to use:
String[] words = line.split(" ");