Diaspark Interview Question

Two Programs of java for database connectivity