Create main.java

This file takes data from a db name "assesment" having tables questions,students,training_set.