What is wrong in the following code?
import java.io.*;public class Test {public static void main(String[] args) { try (FileInputStream fis = new FileInputStream("test.dat"); ) {
}
catch (IOException ex) {ex.printStackTrace();
}
catch (FileNotFoundException ex) {ex.printStackTrace();
}
}
}
We need at least 10 more requests to produce the solution.
0 / 10 have requested this problem solution
The more requests, the faster the answer.