Capgemini Interview Question

OOPS related questions, exception handling, memory alloction