//10, 14 -> 10, 56 AllowLoadtime == true | |
package p; | |
import java.io.FileReader; | |
import java.io.IOException; | |
class A { | |
void foo() throws IOException{ | |
try (FileReader reader = new FileReader("file")) { | |
int ch; | |
while ((ch = reader.read()) != -1) { | |
System.out.println(ch); | |
} | |
} | |
} | |
} |