HCLTech interview question

Jdbc connection code