Cognizant Interview Question

Write a code of Fibonacci Series in Java