Examveda
Examveda

Which method is used to delete a file or directory in Java?

A. `erase()`

B. `delete()`

C. `discard()`

D. `erase()`

Answer: Option B


This Question Belongs to Java Program >> Input Output

Join The Discussion

Related Questions on Input Output