Recursion

Recursion

Topics: 1. Recursive methods 2. General form example: 3. Writing them 4. Helper methods 5. Analysis of recursive methods
 * a method is recursive if it calls itself
 * public int something(int j)**
 * { if (n == 1)**
 * return 1;**
 * else**
 * return n * something(n-2);**
 * }**