Capgemini interview question

write down jdbc connectivity code