Capgemini Interview Question

Easy question asked on java design pattern