Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- public static void main(String[] args) {
- File file1 = new File("input.txt");
- try {
- Scanner scan = new Scanner(file1);
- } catch (FileNotFoundException e) {
- e.printStackTrace();
- }
- }
- java.io.FileNotFoundException: input.txt (The system cannot find the file specified)
- at java.io.FileInputStream.open(Native Method)
- at java.io.FileInputStream.<init>(Unknown Source)
- at java.util.Scanner.<init>(Unknown Source)
- at A.main(A.java:12)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement