Cognizant Interview Question

Method overriding and overloading and Fibonacci series and prime number