//PROGRAM 10-13 import java.io.File; class DemoHapusFile { public static void main(String[] args) { File f = new File("d:/contoh.txt"); f.delete(); } }