Cognizant interview question

OOPS concepts, SQL Queries and Java Programming