Guest User

Untitled

a guest
Dec 13th, 2018
63
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.23 KB | None | 0 0
  1. File folder = new File("src/zipper");
  2. File[] listOfFiles = folder.listFiles();
  3. File s=listOfFiles[0];
  4.  
  5. Exception in thread "main" java.lang.NullPointerException
  6. at testFile.main(testFile.java:23)
  7.  
  8. File s=listOfFiles[0];
Add Comment
Please, Sign In to add comment