Write a method crawl that accepts a File parameter and prints information about that file. if the File object represents a normal file, just print its name. if the File object represents a directory, print its name and information about every file/directory inside it, indented.

Solved
Show answers

Ask an AI advisor a question