Cognizant interview question

Asked questions based on Selenium and java