Cognizant interview question

Selenium and Java basics along with JS