Glossary: Algorithms Beyond the Basics in Java
Files.readAllLines
Also written: IOException, throws IOException, Path.of
A Java method that reads a whole file as a list of lines. It can throw `IOException`, so the method using it declares `throws IOException`.