Hexaware Technologies Interview Question

prime number program oops concept and its types.