>>106156436
>Encapsulation is literally just "group these things together so they can be managed as single conceptual thing by the rest of the program".
the important point is that the encapsulated object has its internal state and logic out of scope of external objects, only providing a public interface for other objects to interact through

if it were possible to change state directly instead of through the interface, the whole abstraction of that object could be broken