Tech Mahindra interview question

As usual spring hibernate java sql