Domanda di colloquio di PTC

Why is encapsulation important in object oriented programming?