Java by API/java.io/FileNotFoundException
Версия от 17:43, 31 мая 2010; (обсуждение)
java.io.FileNotFoundException
import java.io.FileInputStream;
import java.io.FileNotFoundException;
public class Main {
public static void main(String[] a) {
FileInputStream inputFile = null;
try {
inputFile = new FileInputStream("C:/myFile.txt");
} catch (FileNotFoundException e) {
e.printStackTrace(System.err);
}
}
}