The purpose of this assignment is to learn recursive methods. For this particular problem, I need to print the values of list
, one per line. The skeleton of the
If I were doing this I would use a helper method with the name of print()
or something similar.
In terms of thinking about the logic of the program, think about what you would need to do:
Have a helper method print()
that:
What do you think that second function could be? Hint: It's recursive...