Cognizant interview question

Questions based on JAVA exception, multithreading, Springboot