Encapsulation is ?



Encapsulation is ?

A. Binding code and data together

B. Using single interface for general class of actions.

C. Reduce Complexity

D. All the above

Answer : C. Reduce Complexity


Explanation :

  • Encapsulation is a mechanism that puts the data and function together.
  • It is the result of hiding implementation details of an object from its user.
  • The object hides its data to de accessed by only those functions which are packed in the class of that object.

Related Searches to Encapsulation is ?