public class Fibonacci { /* * Returns the nth term in the Fibonacci Sequence, with * F(0) = 0, F(1) = 1, F(n) = F(n-1) + F(n-2) for n > 1 * * @param n The term index * * @return The nth Fibonacci number */ public static int F(int n) { // TODO: Remove the following lines and complete the method. int result = -1; return result; } /* * If you want to write your own tests, put them here. */ public static void main(String[] args) { } }