| title | Algorithm4 Java Solution 1.3.43 | ||
|---|---|---|---|
| date | 2019-07-28 08:47:27 +0800 | ||
| draft | false | ||
| tags |
|
||
| categories |
|
Listing files. A folder is a list of files and folders. Write a program that takes the name of a folder as a command-line argument and prints out all of the files contained in that folder, with the contents of each folder recursively listed (indented) under that folder’s name. Hint : Use a queue, and see java.io.File.
code: