Cognizant interview question

Basic java selenium