Infosys Interview Question

Fibonacci series Prime factorial Class and interface