233k views
3 votes
Lyla is writing a program that uses a recursive method. Why might she want to use a recursive helper method?

A. to send the input to the correct recursive method
B. to make the recursive method faster
C. to prevent infinite recursion
D. to prevent users from accessing the recursive method directly

User Richard T
by
7.5k points

1 Answer

4 votes

i don't know if my answer is helpful but maybe she is using it to prevent users from accessing the recursive method directly

User Andrew Daniel
by
9.3k points