Encapsulation is the process of hiding data and controlling access to it.
This is done using private variables and public methods.
Use getters to access data and setters to modify it.
Setters can include validation logic.
Create a BankAccount class with controlled balance access.