Deleting a File or Directory

# Introduction In this lab, we will learn how to delete a file or directory in Java using the `File` class. We will cover the `delete()` and `deleteOnExit()` methods, and provide examples of how to use them.

|60 : 00

Click the virtual machine below to start practicing