Wipro interview question

looping, inheritance,polymorphism,prime numbers, odd or even