Pergunta de entrevista da empresa Safran Federal Systems

What is encapsulation and its purpose in object oriented programming.