logo

Crowdly

Browser

Add to Chrome

The following method is designed to delete a directory tree recursively. Which o...

✅ The verified answer to this question is available below. Our community-reviewed solutions help you understand the material better.

The following method is designed to delete a directory tree recursively. Which of the following properties reflect the method definition? (Choose all that apply.)

1: public static void deleteTree(File file) {

2: if(!file.isFile())

3: for(File entry: file.listFiles())

4: deleteTree(entry);

5: else file.delete();

6: }

100%
0%
0%
100%
0%
0%
More questions like this

Want instant access to all verified answers on dl.nure.ua?

Get Unlimited Answers To Exam Questions - Install Crowdly Extension Now!

Browser

Add to Chrome