close
The method , delete() , of File class can be used to delete the file.
File f = new File(file Name);
boolean success = f.delete();
if (!success)
{
System.out.println("delete fail!!");
}
全站熱搜
The method , delete() , of File class can be used to delete the file.
File f = new File(file Name);
boolean success = f.delete();
if (!success)
{
System.out.println("delete fail!!");
}
留言列表