8000
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d2b859a commit 7bc9a32Copy full SHA for 7bc9a32
src/main/java/IO_example/JavaFileIOExample.java
@@ -17,7 +17,7 @@ public static void main(String... args) throws IOException {
17
System.out.println("Program finished.");
18
}
19
20
- private static void readFileOnDisk() throws IOException {
+ public static void readFileOnDisk() throws IOException {
21
String file = "src/test/resources/sample_input.txt";
22
Scanner scanner = new Scanner(new File(file));
23
scanner.useDelimiter(" ");
0 commit comments