GeekInterview.com
   Home |  Tech FAQ  |   Interview Questions |  Placement Papers |  Tech Articles |  Learn |  Freelance Projects |  Online Testing |  Geeks Talk |  Job Postings |  Knowledge Base | Site Search |  Add/Ask Question

  GeekInterview.com  >  Tech FAQs  >  OOPS

 Print  |  
Question:  what is difference between abstract data type and encapsulation of data?



July 07, 2009 14:18:21 #4
 remodarling   Member Since: July 2009    Total Comments: 1 

RE: what is difference between abstract data type and encapsulation of data?
 
Encapsulation means data hiding+abstraction. In data hiding we will not allow our data to go out directly. Eg. Declaring data members as private is data hiding, where as abstraction means hiding internal implementation is called abstraction.
     

 

Back To Question