Capgemini interview question

OOps concepts java Framework