Botree Software interview question

OOPS and SQL