SelfMade interview question

Basic OOP DBMS Project and puzzles