IFS interview question

OOP Data base and API related question