Cognizant interview question

Basic OOPS concepts and threading concepts