星期五, 12月 21, 2007

Lab Static Method

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

23 則留言:

  1. 作者已經移除這則留言。

    回覆刪除
  2. 我已經改好了,煩請老師再檢查~~

    回覆刪除