Encapsulation is ?

Answer : C. Reduce Complexity

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.
Leave a Reply

Your email address will not be published. Required fields are marked *