IGATE interview question

write the code to create a JDBC connection