COERA interview question

Singleton and other design patterns, Java basics