Emptor interview question

solid principles, singleton class, event bubbling etc