Barclays Interview Question

basic oops and database systems