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 9ec2862 commit 61d313eCopy full SHA for 61d313e
src/com/codefortomorrow/advanced/chapter14/examples/TryWithResources.java
@@ -1,11 +1,11 @@
1
-package com.codefortomorrow.advanced.chapter14.examples
+package com.codefortomorrow.advanced.chapter14.examples;
2
import java.io.*;
3
4
public class TryWithResources {
5
6
public static void main(String[] args) throws IOException {
7
File file = new File("names.txt");
8
-
+
9
try (FileInputStream in = new FileInputStream(file);
10
FileOutputStream out = new FileOutputStream("names_upper.txt")) {
11
0 commit comments