Capgemini interview question

Please explain the Oops concepts.