Quest Global interview question

Core Java with design patterns