Question: Using the Student class in Exercise 4, write a recursive version of the method that displays only the name of the ;th student in a
Using the Student class in Exercise 4, write a recursive version of the method that displays only the name of the ;th student in a linked list of students. Assume that i ~ 1 and that the linked list contains at least i nodes. (Hint: If i = 0, print the name of the first student in the list; otherwise, print the (i - 1 )th student name from the rest of the list.)
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
