
13.10 Exercises,Problems,and Projects 985
EXERCISES,PROBLEMS, AND PROJECTS
13.10 Exercises,Problems,and Projects
13.10.1 Multiple Choice Exercises
1. A recursive method
❑ is always a static method
❑ is never a static method
❑ may or may not be static
2. A recursive method
❑ is always a method with a void return value
❑ is always a value-returning method
❑ can be either of the above
3. When formulating a recursive solution, what should you consider?
❑ base cases and general case
❑ base cases only
❑ general case only
4. A recursive method
❑ is a method containing a loop
❑ calls itself
❑ is part of the java.recursion package
5. When coding a class that includes a ...