How Can We Delete All Files In A Directory #1129
How can we delete all files in a directory?
This multiple choice question (MCQ) is related to the book/course gs gs128 Java. It can also be found in gs gs128 Java Autoboxing - File and Directory in Java - Quiz No.1.
How can we delete all files in a directory?
Files.delete(path)
Files.deleteDir()
Directory.delete()
Directory.delete(path)