星期五, 5月 20, 2005

5/20 Lab (Fibonacci Class)

Study Display 5.2.
Using static variables and static methods to implement static class Fibonacci such that
the first call to Fibonacci.next()
returns 2, the second returns 3, and then 5, and so on.