RJ Softwares Interview Question

write a code for database connection