3 ms·
Are you saying you need statements in your loop blocks!? I just added this to a school assignment: for (String next = in.readLine(); next != null
by kqr 9y ago
Are you saying you need statements in your loop blocks!? I just added this to a school assignment:
for (String next = in.readLine();
next != null && dictionary.add(next);
next = in.readLine());
...you can sense my contempt for this assignment. I would of course never do this in a real program.