Infosys interview question

Backend data table relationships in Java