Question: Use java to solve this question. Write a Thread class that provides the following behaviour: - In the run method: - get a list of
Use java to solve this question.

Write a Thread class that provides the following behaviour: - In the run method: - get a list of all the files in the directory represented by the instance variable - calculate the total size of all the files (not sub-directories) in this directory. - print the name of the directory, its total file size, and the amount of time it took to carry out the calculations directory
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
