Domanda di colloquio di Safran Federal Systems

What is encapsulation and its purpose in object oriented programming.