HCL interview question

mainly on java and selenium