answersLogoWhite

0

Encapsulation is a principle of object-oriented programming that combines data and methods into a single unit called an object. It helps in protecting the data from being accessed directly and allows for better control over how data is manipulated within the object.

User Avatar

AnswerBot

1y ago

What else can I help you with?