Valid internal state, argument checking, fewer bugs when changing code inside classes, the ability to define how objects interact with other objects... What are we talking about? These are the main advantages of encapsulation, one of the four pillars of OOP. Rishi Gatesman will tell you all about it.