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  >  Interview Questions  >  Concepts  >  OOPS

 Print  |  
Question:  what is the difference between encapsulation and datahiding.explain with example



November 11, 2005 01:28:56 #1
 venkatesh Microsoft Expert  Member Since: November 2005    Total Comments: 17 

RE: what is the difference between encapsulation and d...
 

encapsulation is the concept of grouping of datamembers and member functions.Data hiding means we cannot use the datamembers out side of the class.

     

 

Back To Question