Skip to content

Latest commit

 

History

History
28 lines (17 loc) · 570 Bytes

Ex_1_3_43.md

File metadata and controls

28 lines (17 loc) · 570 Bytes
title date draft tags categories
Algorithm4 Java Solution 1.3.43
2019-07-28 08:47:27 +0800
false
JAVA
TECH
archives

1.3.43

Problem:

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.

Solution:

code:

Ex_1_3_43.java

Reference: