Pregunta de entrevista de Lufthansa Systems Poland

Write on paper Java method to return n first elements of Fibonacci sequence