A recursive method
- A
Uses static fields
- B
Loops forever
- C
Cannot return values
- Dcheck_circle
Calls itself (directly or indirectly)
Explanation
Recursion: method invokes itself with smaller subproblem.
AP Computer Science A· difficulty 2/5
A recursive method
Uses static fields
Loops forever
Cannot return values
Calls itself (directly or indirectly)
Explanation
Recursion: method invokes itself with smaller subproblem.
Want 10 more like this — adaptive to your weak spots?