Accenture interview question

Fibonacci series java code, Working with array.