Relanto interview question

OOPs,DBMS, and small coding question