Suma Soft interview question

write a JDBC connection