Cognizant Interview Question

Sql query , String and exception handling coding questions, Java basic questions