Searched refs:fib (Results 1 – 3 of 3) sorted by relevance
18 public default int fib(int a) { in fib() method20 return fib(a - 1) + fib(a - 2); in fib()27 int result = new Main().fib(2); in main()33 public int fib(int a) { in fib() method in Main34 return Itf.super.fib(a); in fib()
30 public static long fib(long f) { in fib() method in Test194138 return fib(f - 1) + fib(f - 2); in fib()83 System.out.println("fib(20) is " + fib(20)); in run()
1 fib(20) is 6765