Infogain Interview Question

Basic JAVA questions on OOP and simple java code.like-fibonacci series.