Pregunta de entrevista de Oracle

Write a function in Java that takes an integer as an input and returns a number from the Fibonacci sequence of the input integer's order.