Java: Supprimer un fichier

Author:

 fichier, java
{filelink=7970}

import java.io.File;
import java.io.IOException;

public class Delete
 {
  public static void main(String[] argv) throws IOException
  	 {

    File test = new File("c:/test3.txt");
    test.delete();
  }
}

Leave a Reply

Your email address will not be published. Required fields are marked *