Capgemini Interview Question

OOPs concepts? write a program for prime number and palindrome in java what is SQL