Start by snarfing Clwk8recursion.
In the class SumItUp values are stored in an ArrayList. First look at the method RecursivePrintAll that prints the elements in the order they appear in the array, starting at position 0.
Complete the method RecursivePrintAllInReverse that prints the elements stored in the ArrayList in reverse order using recursion. You can start with the code from RecursivePrintAll and modify it. DO NOT MODIFY the call in main: RecursivePrintAll(0). That is k=0 the first time it is called.
HINT: Do the recursive call first, then print the element in slot k.
Files on a computer are organized hierarchically in directories. Because directories can contain files or other directories, which can contain more files and more directories, the structure itself is recursive. This structure makes using recursive algorithms a natural technique for processing it.
Complete the following problems in the file DirReader.java with regards to directories on your computer. Note that this file also uses the file DirChooser.java, which you do not need to modify.
Hint: You'll need to use the File method isDirectory. If it is a directory then you want to use a recursive call to return a list of all the files in that directory. The recursive call will return a List. You can use the ArrayList method addAll to add all the items in one list to another list...
If the item is not a directory, then just add the file to the list of files.
Hint: You will need to use the File method length for the size of a file.
maindir file1 subdir1 xxx foo bar yyy file2 file3 subdir2 zzz ppp subdir3 ooo file4 subdir4 www nnn
Hint: See the method named tab, it might be useful!
Create a README file with both of your names in it if you work with a partner.