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.

Categorized in:

C++

Tagged in:

, , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , ,

Share Article:

Leave a Reply

Ads Blocker Image Powered by Code Help Pro

Ads Blocker Detected!!!

We have detected that you are using extensions to block ads. Please support us by disabling these ads blocker.

Powered By
100% Free SEO Tools - Tool Kits PRO