joseleonweb

Untitled

Feb 23rd, 2021
911
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Java 0.14 KB | None | 0 0
  1. import java.io.File;
  2.  
  3. …
  4.  
  5. File arxiu = new File("D:\\code\\dades.txt");
  6.  
  7. if (arxiu.exists()) System.out.println("L'arxiu existeix");
  8.  
Advertisement
Add Comment
Please, Sign In to add comment