Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- File folder = new File("src/zipper");
- File[] listOfFiles = folder.listFiles();
- File s=listOfFiles[0];
- Exception in thread "main" java.lang.NullPointerException
- at testFile.main(testFile.java:23)
- File s=listOfFiles[0];
Add Comment
Please, Sign In to add comment