Cognizant Interview Question

Basic concepts of oops and sql