Capgemini interview question

Explain the Object oriented programming by coding it.