We know that the first file name is stored at index zero in the ArrayList and the list stores the file names as strings, so could we write the body of listAllFiles along the following lines?
System.out.println(files.get(0));
System.out.println(files.get(1));
System.out.println(files.get(2));
etc. How many println statements would be required to complete the method?
We need at least 10 more requests to produce the solution.
0 / 10 have requested this problem solution
The more requests, the faster the answer.