TCS interview question

Write a code in java for Fibonacci numbers