11.7. Exercises

A recursive method contains a call to itself. The recursion stops when a base case test is true and a value is returned.

11.7.1. Easier Multiple Choice Questions

11.7.2. Medium Multiple Choice Questions

Before you keep reading...

Making great stuff takes time and $$. If you appreciate the book you are reading now and want to keep quality materials free for other students please consider a donation to Runestone Academy. We ask that you consider a $10 donation, but if you can give more thats great, if $10 is too much for your budget we would be happy with whatever you can afford as a show of support.

You can step through the code using the Java Visualizer by clicking on the following link: Q-11-7-1.

You can step through the code using the Java Visualizer by clicking on the following link: Q-11-7-2.

You can step through the code using the Java Visualizer by clicking on the following link: Q11-7-3.

You can step through the code using the Java Visualizer by clicking on the following link: Q11-7-4.

11.7.3. Hard Multiple Choice Questions

You can step through the code above by clicking on the following link Ex-11-8-1.

You can step through the code above by clicking on the following link Ex-11-8-2.