Advertisement
joseleonweb

Untitled

Feb 23rd, 2021
845
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. File arxiu = new File("D:\\code\\dades.txt");
  5.  
  6. if (arxiu.exists()) System.out.println("L'arxiu existeix");
  7.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement