Printing an array with recursion

Write a recursive method, which receives an integer array as a parameter, and prints the contents of the array in order from first to last, separated by spaces on a single line. Each call prints one element, and the size of the array should decrease with each call. The method should stop when the array contains a single element.
Price $ 5.00

Answers to advanced questions are only visible to original posters.

We have mentors from

Contact support