B4Coder
0%
LessonAbout 8 min

Chapter 7 · Lesson 5 of 5

05. Methods that call themselves

A recursive method calls itself on a smaller problem until it reaches a simple case. And why a method can change an array but not your int.

Opening the lesson…