ADP interview question

Write Fibonacci series code in Java?