Openshop interview question

Basic Java interview questions. One coding question - Fibonacci series