Explain the concept Data Hiding?

 Posted by Kmandapalli on 2/26/2014 | Category: OOPS Interview questions | Views: 807 | Points: 40
Answer:

A class contains private data members which are not accessible to the users of other class.
these data members can be modified only internally by the class.
Class contains public functions through which user can interact with these data which implies that direct manuplation of data is not possible by the user.


Asked In: Many Interviews | Alert Moderator 

Comments or Responses

Login to post response