Given the following statements:
Which of the following is true?
E is correct because a directory containing files or subdirectories is copied or moved in its entirety.
Main can only be deleted if they are empty.
Trying to delete a nonempty directory will throw a DirectoryNotEmptyException
.
The question says "usually" because copy and move success depends on file permissions.
Think about the most common cases when encountering words such as "usually" on the exam.