Question d’entretien chez WellDev

What's encapsulation? How is it work?

Réponse à la question d'entretien

Utilisateur anonyme

23 oct. 2021

Encapsulation refers to the bundling of data with the methods that operate on that data. It is used to hide the values or state of a structured data object inside a class, preventing unauthorized parties' direct access to them.