✅ Перевірена відповідь на це питання доступна нижче. Наші рішення, перевірені спільнотою, допомагають краще зрозуміти матеріал.
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: }