Infosys interview question

Basic Java and Selenium questions