We were unable to load Disqus. If you are a moderator please see our troubleshooting guide.

le-yams • 1 year ago

The lines reading part for the second method can be simplified with:

reader.lines().forEach(System.out::println);

Regards :),

Yann

[CG]BOUGA • 1 year ago

Thanks! Fixed ;)