1. Write a program to find the duplicate number in an array ranging from 1 to 100, where the input array contains exactly 100 items.
2. Write a program to print prime numbers between 1 and 100.
3. What is a constructor?
4. What is Regression Testing. Functional Testing, Smoke testing?