Manhattan Associates interview question

Design pattern : Factory , singleton, String pool , some basic java question for architect position