Guide to Java pp 245-266 | Cite as


  • James T. Streib
  • Takako Soma
Part of the Undergraduate Topics in Computer Science book series (UTICS)


This chapter examines recursion using contour diagrams. The power function and Fibonacci numbers are used as examples. In addition to contour diagrams, stack frames and a tree of calls are shown as alternative ways of visualizing the recursive process. As with other chapters, a complete program is provided.


Power Function Line Number Method Call Great Common Divisor Recursive Call 
These keywords were added by machine and not by the authors. This process is experimental and the keywords may be updated as the learning algorithm improves.


  1. 4.
    Streib JT (2011) Guide to assembly language: a concise introduction. Springer, LondonGoogle Scholar

Copyright information

© Springer-Verlag London 2014

Authors and Affiliations

  • James T. Streib
    • 1
  • Takako Soma
    • 1
  1. 1.Department of Computer ScienceIllinois CollegeJacksonvilleUSA

Personalised recommendations