DXC Technology interview question

- Define encapsulation and why do we need it