Difference between Encapsulation and Data hiding?

 Posted by Senthilstayss on 3/23/2013 | Category: OOPS Interview questions | Views: 10881 | Points: 40

Data Encapsulation is nothing but grouping up of related members (variables and methods) into a single unit called class

Data Hiding is nothing but restricting outside access of a class members using access modifiers such as private , protected and internal etc.,

Asked In: Many Interviews | Alert Moderator 

Comments or Responses

Login to post response