Question d’entretien chez SAP

Difference between Abstraction and Encapsulation ?

Réponse à la question d'entretien

Utilisateur anonyme

8 sept. 2016

Abstraction means showing only the relevant info to user and hiding unrelevant info. where as Encapsulation is one of the technique to achieve the Abstraction , In Encapsulation we encapsulate the Function and properties or State and Behavior, it is achieved using Object and an Object is an Instance of a Class.

1