Question d’entretien chez Ugam

What are Encapsulation, Inheritance and Polymorphism?

Réponse à la question d'entretien

Utilisateur anonyme

26 févr. 2019

Encapsulation is the mechanism that binds together code and data it manipulates and keeps both safe from outside interference and misuse. Inheritance is the process by which one object acquires the properties of another object. Polymorphism is the feature that allows one interface to be used for general class actions.