Template repo for RepoBee demo task-2
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

19 lines
298 B

3 years ago
  1. /**
  2. * Class for calculating Fibonacci numbers.
  3. */
  4. public class Fibo {
  5. private long prev;
  6. private long current;
  7. public Fibo() {
  8. prev = 0;
  9. current = 1;
  10. }
  11. /**
  12. * Generate the next Fibonacci number.
  13. */
  14. public long next() {
  15. return 0;
  16. }
  17. }