Wallet Hub Interview Question

Write a Java method to calculate the Nth integer in the Fibonacci sequence.