Capgemini Interview Question

about Java spring and hibernate