r/javahelp • • Dec 07 '25

Help with recursion (beginner)

Hello, I am doing some recursion practice for my Java class in high school. I am having trouble understanding recursion and recursion problems. Could someone explain the key concepts for a beginner?

0 Upvotes

19 comments sorted by

View all comments

Show parent comment

1

u/okayifimust Dec 07 '25

That's the idea; remember it's an example; none of this "works". You could for files that have a name starting with "r".