Powered by Ajaxy
Digg StumbleUpon LinkedIn YouTube Flickr Facebook Twitter RSS Reset

Java: Delete a file

Java: Delete a file
{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();
  }
}

Users who found this page were searching for:

  • javascript java scriptengine
  • how to underline the string in java
  • perl factorial
  • how to print underline string in java
  • read email python
  • perl dbi csv
  • perl read csv into 2d array
  • how to include commportidentifier in javax folder
  • java swing label html strikethrough
  • python open file and read

No comments yet.

Leave a Comment